From da7175da51e6b00bb2556b4f2ab5ad788aa657f6 Mon Sep 17 00:00:00 2001 From: amancera <1596328+alejandromgk@users.noreply.github.com> Date: Sun, 22 Apr 2018 20:35:29 -0500 Subject: [PATCH] Update masternode installation script --- pac-update.sh | 16 ++++++++-------- pacmn.sh | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/pac-update.sh b/pac-update.sh index d299ae230994e..26923ed2e8a1f 100644 --- a/pac-update.sh +++ b/pac-update.sh @@ -4,8 +4,8 @@ set -e cd ~/ arch=`uname -m` -version="0.12.3.0" -old_version="0.12.2.3" +version="0.12.3.1" +old_version="0.12.3.0" base_url="https://github.com/PACCommunity/PAC/releases/download/v${version}" if [ "${arch}" == "x86_64" ]; then tarball_name="PAC-v${version}-linux-x86_64.tar.gz" @@ -89,14 +89,14 @@ if [ -e ~/paccoin-cli ] && [ -e ~/paccoind ]; then rm paccoin-qt fi - if [ -e ~/PAC-v0.12.2.3-ubuntu-16.04-x64.tar.gz ]; then - echo "Removing PAC-v0.12.2.3-ubuntu-16.04-x64.tar.gz" - rm PAC-v0.12.2.3-ubuntu-16.04-x64.tar.gz + if [ -e ~/PAC-v0.12.3.0-linux-x86_64.tar.gz ]; then + echo "Removing PAC-v0.12.3.0-linux-x86_64.tar.gz" + rm PAC-v0.12.3.0-linux-x86_64.tar.gz fi - if [ -d ~/PAC-v0.12.2.3-ubuntu-16.04-x64 ]; then - echo "Removing PAC-v0.12.2.3-ubuntu-16.04-x64 directory" - rm -r PAC-v0.12.2.3-ubuntu-16.04-x64 + if [ -d ~/PAC-v0.12.3.0-linux-x86_64 ]; then + echo "Removing PAC-v0.12.23.0-linux-x86_64 directory" + rm -r PAC-v0.12.3.0-linux-x86_64 fi else is_pac_running=`ps ax | grep -v grep | grep paccoind | wc -l` diff --git a/pacmn.sh b/pacmn.sh index da0a6245546c4..9120d676a79b4 100644 --- a/pacmn.sh +++ b/pacmn.sh @@ -13,8 +13,8 @@ else fi arch=`uname -m` -version="0.12.3.0" -old_version="0.12.2.3" +version="0.12.3.1" +old_version="0.12.3.0" base_url="https://github.com/PACCommunity/PAC/releases/download/v${version}" if [ "${arch}" == "x86_64" ]; then tarball_name="PAC-v${version}-linux-x86_64.tar.gz"