You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
phreaknet.sh: Only check for updates periodically.
Rather than checking for updates whenever most commands are run,
only check ~twice a day, so that commands can run faster.
Also fixes some install logic that would not add DAHDI-dependent
Asterisk modules if DAHDI was not installed at the same time (but
was already present).
if [ "$self"!="$upstream" ] && [ "$cmd"!="update" ];then
2493
-
# Pull from GitHub here for version check for a) speed and b) stability reasons
2494
-
# In this case, it's possible that our version number could actually be ahead of master, since we update from the dev upstream. We need to compare the versions, not merely check if they differ.
2495
-
# Don't throw a warning if only the development tip is ahead of the master branch. But if master is ahead of us, then warn.
if [ "$self"!="$upstream" ] && [ "$cmd"!="update" ];then
2498
+
# Pull from GitHub here for version check for a) speed and b) stability reasons
2499
+
# In this case, it's possible that our version number could actually be ahead of master, since we update from the dev upstream. We need to compare the versions, not merely check if they differ.
2500
+
# Don't throw a warning if only the development tip is ahead of the master branch. But if master is ahead of us, then warn.
0 commit comments