1
0

bug destection bureau

This commit is contained in:
Daniel Tartavel 2019-03-26 21:48:38 +01:00
parent d22ad318f5
commit 10c25a07be

View File

@ -166,7 +166,7 @@ if [ -z "`grep lalis /etc/ssh/sshd_config`" ]; then
fi
# Ajoute le fichier checklist.txt et test.desktop sur le bureau de l'utilisateur lalis
desktop /home/lalis
desktop /lalis
if ! [ -d "/home/lalis/$DESKTOP" ]; then
/usr/bin/mkdir "/home/lalis/$DESKTOP"
@ -184,7 +184,7 @@ do
getent passwd "$USER"
if [ $? -eq 0 ]; then
if [ -d $i ]; then
desktop "/home/$i"
desktop "/$i"
if ! [ -d "$i/$DESKTOP" ]; then
su -c "mkdir $i/Bureau" - "$USER"
echo "su -c mkdir $i/Bureau - $USER"