forked from axiom-team/astrXbian
git pull Astroport.ONE
This commit is contained in:
parent
77bd8fce3e
commit
0da2b86a69
|
@ -164,8 +164,11 @@ fi
|
||||||
if [[ $(($runtime % 15)) == 0 ]]; then
|
if [[ $(($runtime % 15)) == 0 ]]; then
|
||||||
|
|
||||||
########## DESYNCH SWARM NODE REQUESTS #################
|
########## DESYNCH SWARM NODE REQUESTS #################
|
||||||
|
[[ -d ~/.zen/Astroport.ONE ]] && cd ~/.zen/Astroport.ONE && sleep $((1 + RANDOM % 12)) && git pull
|
||||||
# git reset --hard
|
# git reset --hard
|
||||||
git pull
|
cd $MY_PATH
|
||||||
|
sleep $((1 + RANDOM % 3)) && git pull
|
||||||
|
|
||||||
[[ ! $? == 0 ]] && echo "GIT.P2P.LEGAL IS UNREACHABLE"
|
[[ ! $? == 0 ]] && echo "GIT.P2P.LEGAL IS UNREACHABLE"
|
||||||
# if [[ $(diff ~/.zen/astrXbian/.install/.kodi/userdata/addon_data/plugin.video.vstream/settings.xml ~/.kodi/userdata/addon_data/plugin.video.vstream/settings.xml) ]]; then
|
# if [[ $(diff ~/.zen/astrXbian/.install/.kodi/userdata/addon_data/plugin.video.vstream/settings.xml ~/.kodi/userdata/addon_data/plugin.video.vstream/settings.xml) ]]; then
|
||||||
# cp ~/.zen/astrXbian/.install/.kodi/userdata/addon_data/plugin.video.vstream/settings.xml ~/.kodi/userdata/addon_data/plugin.video.vstream/settings.xml
|
# cp ~/.zen/astrXbian/.install/.kodi/userdata/addon_data/plugin.video.vstream/settings.xml ~/.kodi/userdata/addon_data/plugin.video.vstream/settings.xml
|
||||||
|
|
Loading…
Reference in New Issue