bug destection bureau
This commit is contained in:
parent
d22ad318f5
commit
10c25a07be
@ -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"
|
||||
|
Reference in New Issue
Block a user