Commit ef3d7de4 authored by Geoffrey Gekiere's avatar Geoffrey Gekiere

correction erreur syntaxe -e

parent 7a0412cd
......@@ -2,12 +2,12 @@
PERSISTENCE=$(ls /lib/live/mount/persistence/sd* | grep persistence.conf)
if [ -e $PERSISTENCE ] && [ -e "$HOME/.config/openbox/menupersistence.xml" ]; then
if [ -e "$PERSISTENCE" ] && [ -e "$HOME/.config/openbox/menupersistence.xml" ]; then
mv $HOME/.config/openbox/menupersistence.xml $HOME/.config/openbox/menu.xml
mv $HOME/.config/openbox/menupersistence2.xml $HOME/.config/openbox/menu2.xml
sed -i '/menupersistence/d' .config/openbox/autostart.sh
openbox --restart
elif [ ! -e $PERSISTENCE ] && [ ! -e "$HOME/.config/openbox/menupersistence.xml" ]; then
elif [ ! -e "$PERSISTENCE" ] && [ ! -e "$HOME/.config/openbox/menupersistence.xml" ]; then
zenity --info --title="Bienvenue sur Studiobox3" --text="Bienvenue sur le système d'exploitation Studiobox3.
Pour mémoire:
- votre nom d'utilisateur est 'studiobox'
......
......@@ -3,7 +3,7 @@
VERIFPERSIST=$(ls /lib/live/mount/persistence/sd* | grep persistence.conf)
if [ -e $VERIFPERSIST ]; then
if [ -e "$VERIFPERSIST" ]; then
echo "La persistance existe déjà"
echo "Vous n'avez pas besoin de lancer ce script"
sleep 5
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment