remove file being in gitignore

This commit is contained in:
qo-op 2020-05-21 02:11:38 +02:00
parent d2ef8d267d
commit f5ddebb252
1 changed files with 13 additions and 3 deletions

View File

@ -67,8 +67,15 @@ echo $timebar
#
#
# ACTIVATE 5 MN "git pull" update
[[ $(($minute % 5)) == 0 ]] && sleep $((1 + RANDOM % 12)) && cd $MY_PATH && git pull
if [[ $(($minute % 5)) == 0 ]]; then
sleep $((1 + RANDOM % 12))
cd $MY_PATH
### Remove files being in .gitignore
git checkout -- www/LOVELand/jukebox/prefs/collection.sq3
git checkout -- www/LOVELand/jukebox/prefs/prefs.var
#######################################
git pull
fi
# __________ ____ __ ________ ___________
# / ___/ ___// __ ) \ \ / _/ __ \/ ____/ ___/
@ -142,7 +149,10 @@ if [[ "$timebar" == "00:01" ]]; then
[[ $jourdelasemaine == 0 ]] && mv -f /tmp/astroport.log ~/.zen/astroport.$numerosemaine.log # LOG BACKUP FOR 1 YEAR !!
sleep $((1 + RANDOM % 10))
# GIT PULL
# GIT UPDATE
./git-update.sh
git pull # UPDATE CODE git pull
# Clear 24h ssb_GET markers