Browse Source

If legacymode is on then bypass certain updates

pull/1477/head
Daniel Gibbs 8 years ago
parent
commit
68e4f8ef9d
  1. 2
      lgsm/functions/command_update_linuxgsm.sh

2
lgsm/functions/command_update_linuxgsm.sh

@ -14,6 +14,7 @@ check.sh
fn_script_log_info "Updating LinuxGSM"
echo -ne "\n"
if [ -z "${legacymode}" ];then
# Check and update _default.cfg
echo -ne " checking config _default.cfg...\c"
config_file_diff=$(diff "${configdirdefault}/config-lgsm/${servername}/_default.cfg" <(${curlpath} -s "https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/lgsm/config-default/config-lgsm/${servername}/_default.cfg"))
@ -67,6 +68,7 @@ if [ "${script_diff}" != "" ]; then
else
fn_print_ok_eol_nl
fi
fi
# Check and update functions
if [ -n "${functionsdir}" ]; then

Loading…
Cancel
Save