diff --git a/update.sh b/update.sh index cb2312b..2b947e7 100755 --- a/update.sh +++ b/update.sh @@ -1,14 +1,13 @@ #!/bin/bash -cd /home/cpi/launcher +cd /home/cpi/launcher || exit feh --bg-center /home/cpi/launcher/sys.py/gameshell/wallpaper/updating.png git pull -git reset --hard $1 +git reset --hard "$1" git submodule init git submodule update -cd ~/apps/Menu && git pull && cd - +cd ~/apps/Menu && git pull && cd - || exit -feh --bg-center /home/cpi/launcher/sys.py/gameshell/wallpaper/loading.png +feh --bg-center /home/cpi/launcher/sys.py/gameshell/wallpaper/loading.png ./load.sh -