diff --git a/load.sh b/load.sh index c3a78c9..7c85c79 100755 --- a/load.sh +++ b/load.sh @@ -4,6 +4,15 @@ BASENAME=`dirname "$0"` cd $BASENAME/sys.py +if [ ! -f ~/.apps_menu_updated ] +then +cd ~/apps/Menu && git pull origin gcores +if [ $? -eq 0 ]; then +touch ~/.apps_menu_updated +fi +cd - +fi + python run.py diff --git a/update.sh b/update.sh index 98b4af8..a0b59de 100755 --- a/update.sh +++ b/update.sh @@ -6,7 +6,8 @@ git pull git reset --hard $1 git submodule init git submodule update -cd ~/apps/Menu && git pull origin gcores && cd - +#cd ~/apps/Menu && git pull origin gcores && cd - +rm ~/.apps_menu_updated feh --bg-center /home/cpi/launcher/sys.py/gameshell/wallpaper/loading.png ./load.sh