Update run.sh
This commit is contained in:
4
run.sh
4
run.sh
@@ -42,8 +42,8 @@ if [ "${1}" == "update" ]; then
|
|||||||
git prune >/dev/null 2>&1
|
git prune >/dev/null 2>&1
|
||||||
git pull >/dev/null 2>&1
|
git pull >/dev/null 2>&1
|
||||||
git submodule update --remote >/dev/null 2>&1
|
git submodule update --remote >/dev/null 2>&1
|
||||||
/bin/chmod +x ${PW_FOLDER}/powerwall.sh 2>&1
|
/bin/chmod +x /opt/idssys/powerwall/powerwall.sh 2>&1
|
||||||
source ${PW_FOLDER}/defaults.inc
|
source /opt/idssys/powerwall/defaults.inc
|
||||||
if [ "${2}" != "q" ]; then
|
if [ "${2}" != "q" ]; then
|
||||||
echo -en "\e[1A";
|
echo -en "\e[1A";
|
||||||
echo -e "\e[0K\r ${idsCL[Green]}Update to v${VERS} complete${idsCL[Default]}"
|
echo -e "\e[0K\r ${idsCL[Green]}Update to v${VERS} complete${idsCL[Default]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user