From ee604836086dc538dc31dced90b7c14b76230854 Mon Sep 17 00:00:00 2001 From: hi80482 <66435094+hi80482@users.noreply.github.com> Date: Fri, 3 Jul 2020 14:34:27 +0800 Subject: [PATCH] Update update.sh (Sync Ver.200626) --- update.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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 -