mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-09-24 09:43:24 +00:00
Reset beta version before each new install
This commit is contained in:
parent
05b99c09df
commit
c37d781b34
|
@ -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/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user