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