Update mm-scripts.sh

This commit is contained in:
2023-03-26 20:13:47 -05:00
parent b498f8f04a
commit b632afccf5

View File

@@ -343,7 +343,7 @@ PersistentKeepalive = 25" >> /etc/wireguard/${VPN_INTERFACE}.conf
checked=""
tryupdate="true"
msg="Updating Service"
msg="Updating ${srvc} Service"
c=0; spc=''; spc1=$((${cw_spc}-${#msg}))
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
echo -en "${idsCL[LightCyan]}${msg}${spc} ${idsCL[White]}: ${idsCL[Default]}"
@@ -356,6 +356,7 @@ PersistentKeepalive = 25" >> /etc/wireguard/${VPN_INTERFACE}.conf
if ([ "${checkport}" == "" ] || [ "${tryupdate}" == "true" ]) && [ "${MM_UPDATE_REPO[${srvc}]}" != "" ]; then
UPDATESERVICE ${srvc} >/dev/null 2>&1
echo -e "${idsCL[Green]}Done${idsCL[Default]}"
fi
fi
done