Reset beta version before each new install

This commit is contained in:
Taylor Helsper 2020-02-23 19:52:25 -06:00
parent 05b99c09df
commit c37d781b34

View File

@ -9,7 +9,7 @@ BETA=0
while test $# -gt 0
do
case "$1" in
beta) echo "found beta"
beta) echo "Installing a beta..."
BETA=1
;;
*) echo "Unknown Argument: $1"
@ -42,6 +42,9 @@ if [ $? -ne 0 ]; then
exit 1
fi
# Clear beta install marking
rm -f /usr/share/mynode/beta_version
# Extract to temp location
tar -xvf /opt/mynode_release_latest.tar.gz -C /opt/upgrade/