debug
This commit is contained in:
parent
b860ab1f30
commit
6ccb13c87c
@ -167,6 +167,7 @@ fi
|
|||||||
|
|
||||||
# Ajoute le fichier checklist.txt et test.desktop sur le bureau de l'utilisateur lalis
|
# Ajoute le fichier checklist.txt et test.desktop sur le bureau de l'utilisateur lalis
|
||||||
desktop /home/lalis
|
desktop /home/lalis
|
||||||
|
echo $DESKTOP
|
||||||
if ! [ -d "/home/lalis/$DESKTOP" ]; then
|
if ! [ -d "/home/lalis/$DESKTOP" ]; then
|
||||||
/usr/bin/mkdir "/home/lalis/$DESKTOP"
|
/usr/bin/mkdir "/home/lalis/$DESKTOP"
|
||||||
|
|
||||||
@ -185,6 +186,7 @@ do
|
|||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
if [ -d $i ]; then
|
if [ -d $i ]; then
|
||||||
desktop "/$i"
|
desktop "/$i"
|
||||||
|
echo $DESKTOP
|
||||||
if ! [ -d "$i/$DESKTOP" ]; then
|
if ! [ -d "$i/$DESKTOP" ]; then
|
||||||
su -c "mkdir $i/Bureau" - "$USER"
|
su -c "mkdir $i/Bureau" - "$USER"
|
||||||
echo "su -c mkdir $i/Bureau - $USER"
|
echo "su -c mkdir $i/Bureau - $USER"
|
||||||
|
Reference in New Issue
Block a user