Update mm-scripts.sh
This commit is contained in:
@@ -22,7 +22,7 @@ fi
|
||||
|
||||
[ -f ${TMPFOLDER}/vpninfo ] && source ${TMPFOLDER}/vpninfo
|
||||
|
||||
if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]] || ( "${1}" == "update" ] && [ -z ${2+x} ]); then
|
||||
if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]] || ([ "${1}" == "update" ] && [ -z ${2+x} ]); then
|
||||
if [ -f ${TMPFOLDER}/update.available ]; then
|
||||
dispup="${idsCL[Yellow]} - Update Available! (run '${idsCL[LightCyan]}mm update${idsCL[Yellow]}')${idsCL[Default]}"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user