소스 검색

Update update.sh (Sync Ver.200626)

hi80482 4 년 전
부모
커밋
ee60483608
1개의 변경된 파일4개의 추가작업 그리고 5개의 파일을 삭제
  1. 4 5
      update.sh

+ 4 - 5
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
-