bug selection Bureau
This commit is contained in:
parent
59f6a668e3
commit
124e036651
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/sh
|
#!/usr/bin/sh
|
||||||
|
|
||||||
ssh -i /usr/local/etc/ssh_id_rsa -p 10022 -N -f -R 6000:localhost:22 ssh@lalis69.ddns.net
|
ssh -i /usr/share/lalis/ssh_id_rsa -p 10022 -N -f -R 6000:localhost:22 ssh@lalis69.ddns.net
|
||||||
ssh -i /usr/local/etc/ssh_id_rsa -p 10022 -N -f -R 5900:localhost:5900 ssh@lalis69.ddns.net
|
ssh -i /usr/share/lalis/ssh_id_rsa -p 10022 -N -f -R 5900:localhost:5900 ssh@lalis69.ddns.net
|
||||||
x11vnc -nopw
|
x11vnc -nopw
|
||||||
killall ssh
|
killall ssh
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Summary: Install LALIS packages and configuration
|
Summary: Install LALIS packages and configuration
|
||||||
Name: task-lalis
|
Name: task-lalis
|
||||||
Version: 5
|
Version: 5.1
|
||||||
Release: %mkrel 1
|
Release: %mkrel 4
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
Group: Tools
|
Group: Tools
|
||||||
Url: http://lalis.fr
|
Url: http://lalis.fr
|
||||||
@ -87,7 +87,6 @@ Requires: wpa_supplicant
|
|||||||
Requires: lshw
|
Requires: lshw
|
||||||
Requires: x11-driver-input-synaptics
|
Requires: x11-driver-input-synaptics
|
||||||
Requires: bsdiff
|
Requires: bsdiff
|
||||||
#Requires: fuse-exfat
|
|
||||||
Requires: mageia-theme-extra
|
Requires: mageia-theme-extra
|
||||||
Requires: gvfs-mtp
|
Requires: gvfs-mtp
|
||||||
Requires: mtpfs
|
Requires: mtpfs
|
||||||
@ -188,7 +187,7 @@ desktop()
|
|||||||
{
|
{
|
||||||
if [ -f "$1/.config/user-dirs.dirs" ]; then
|
if [ -f "$1/.config/user-dirs.dirs" ]; then
|
||||||
DESKTOP=`grep XDG_DESKTOP_DIR $1/.config/user-dirs.dirs`
|
DESKTOP=`grep XDG_DESKTOP_DIR $1/.config/user-dirs.dirs`
|
||||||
DESKTOP=${DESKTOP##*}
|
DESKTOP=`echo ${DESKTOP##*/} | sed -e s/\"//g`
|
||||||
else
|
else
|
||||||
DESKTOP=""
|
DESKTOP=""
|
||||||
fi
|
fi
|
||||||
@ -209,7 +208,7 @@ fi
|
|||||||
if [ -z "`grep lalis /etc/ssh/sshd_config`" ]; then
|
if [ -z "`grep lalis /etc/ssh/sshd_config`" ]; then
|
||||||
echo "Allowusers lalis" >>/etc/ssh/sshd_config
|
echo "Allowusers lalis" >>/etc/ssh/sshd_config
|
||||||
fi
|
fi
|
||||||
|
/usr/bin/systemctl restart sshd
|
||||||
# Ajoute le fichier test.desktop sur le bureau de l'utilisateur lalis
|
# Ajoute le fichier test.desktop sur le bureau de l'utilisateur lalis
|
||||||
desktop /home/lalis
|
desktop /home/lalis
|
||||||
echo $DESKTOP
|
echo $DESKTOP
|
||||||
@ -237,10 +236,9 @@ do
|
|||||||
if ! [ -d "$i/$DESKTOP" ]; then
|
if ! [ -d "$i/$DESKTOP" ]; then
|
||||||
su -c "mkdir $i/$DESKTOP" - "$USER"
|
su -c "mkdir $i/$DESKTOP" - "$USER"
|
||||||
echo "su -c mkdir $i/$DESKTOP - $USER"
|
echo "su -c mkdir $i/$DESKTOP - $USER"
|
||||||
cp -fa /usr/share/kio_desktop/Lalis.desktop "$i/$DESKTOP/"
|
|
||||||
chown $USER:$USER "$i/$DESKTOP"
|
|
||||||
fi
|
fi
|
||||||
|
cp -fa /usr/share/kio_desktop/Lalis.desktop "$i/$DESKTOP/"
|
||||||
|
chown $USER:$USER "$i/$DESKTOP"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
@ -261,6 +259,6 @@ MGAVERSION=${U##*.mga}
|
|||||||
#adding lalis mirror
|
#adding lalis mirror
|
||||||
grep -q 'lalis rsync://lalis69.ddns.net:10073/mageia/lalis/' /etc/urpmi/urpmi.cfg
|
grep -q 'lalis rsync://lalis69.ddns.net:10073/mageia/lalis/' /etc/urpmi/urpmi.cfg
|
||||||
if [ ${?} -ne 0 ]; then
|
if [ ${?} -ne 0 ]; then
|
||||||
echo -e "\nlalis rsync://lalis69.ddns.net:10073/mageia/lalis/8/x86_64/media/core {\n}" >>/etc/urpmi/urpmi.cfg
|
echo -e "\nlalis rsync://lalis69.ddns.net:10073/mageia/lalis/$MGAVERSION/x86_64/media/core {\n}" >>/etc/urpmi/urpmi.cfg
|
||||||
echo "urpmi.update lalis;urpmi msttcore-fonts-installer" | at now +2 minutes
|
echo "urpmi.update lalis;urpmi msttcore-fonts-installer" | at now +2 minutes
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user