Skip to content

Commit 94aa66a

Browse files
authored
Bump version on pacmn.sh and pac-update.sh to v12.5.1 (dashpay#56)
* Bump version on pacmn.sh and pac-update.sh to v12.5.1
1 parent f20d4a4 commit 94aa66a

File tree

2 files changed

+20
-5
lines changed

2 files changed

+20
-5
lines changed

pac-update.sh

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
22

3-
export LC_ALL=C
3+
export LC_ALL=en_US.UTF-8
44
set -e
5-
version="0.12.5.0"
5+
version="0.12.5.1"
66

77
echo
88
echo "################################################"
@@ -129,6 +129,21 @@ download_binaries()
129129
echo "There was a problem downloading the binaries, please try running again the script."
130130
exit -1
131131
fi
132+
133+
if [ -e $HOME/paccoind ]; then
134+
rm $HOME/paccoind
135+
ln -s $INSTALL_DIR/paccoind $HOME/paccoind
136+
fi
137+
138+
if [ -e $HOME/paccoin-cli ]; then
139+
rm $HOME/paccoin-cli
140+
ln -s $INSTALL_DIR/paccoin-cli $HOME/paccoin-cli
141+
fi
142+
143+
if [ -e $HOME/paccoin-qt ]; then
144+
rm $HOME/paccoin-qt
145+
ln -s $INSTALL_DIR/paccoin-qt $HOME/paccoin-qt
146+
fi
132147
}
133148

134149
update_sentinel()
@@ -185,7 +200,7 @@ install_and_run_systemd_service()
185200
echo "*** Some of the available options: start, stop, restart or status."
186201
echo "*** Example: 'systemctl status ${PAC_SERVICE_NAME}'"
187202
echo
188-
systemctl status -n 0 $PAC_SERVICE_NAME
203+
systemctl status -n 0 --no-pager $PAC_SERVICE_NAME
189204
echo
190205
paccoin-cli getinfo
191206
rm $PAC_SERVICE_NAME

pacmn.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ else
1515
fi
1616

1717
arch=`uname -m`
18-
version="0.12.5.0"
19-
old_version="0.12.3.1"
18+
version="0.12.5.1"
19+
old_version="0.12.5.0"
2020
base_url="https://github.com/PACCommunity/PAC/releases/download/v${version}"
2121
if [ "${arch}" == "x86_64" ]; then
2222
tarball_name="PAC-v${version}-linux-x86_64.tar.gz"

0 commit comments

Comments
 (0)