From 10c25a07bef90d69766d2f33ab472ffb309168ac Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Tue, 26 Mar 2019 21:48:38 +0100 Subject: [PATCH] bug destection bureau --- SPECS/task-lalis.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SPECS/task-lalis.spec b/SPECS/task-lalis.spec index 3c88a26..5b79d59 100755 --- a/SPECS/task-lalis.spec +++ b/SPECS/task-lalis.spec @@ -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"