summarylogtreecommitdiffstats
path: root/peercoind-git.install
diff options
context:
space:
mode:
authorcimer2017-11-05 13:24:59 +0100
committercimer2017-11-05 13:24:59 +0100
commitf9cf404eae19376c663471f4e7296aa9cc93bf84 (patch)
tree703af5df533bc2cf0a224837a4b95e6df5a40059 /peercoind-git.install
downloadaur-f9cf404eae19376c663471f4e7296aa9cc93bf84.tar.gz
initial commit.
Diffstat (limited to 'peercoind-git.install')
-rw-r--r--peercoind-git.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/peercoind-git.install b/peercoind-git.install
new file mode 100644
index 000000000000..73564fecf543
--- /dev/null
+++ b/peercoind-git.install
@@ -0,0 +1,18 @@
+post_install() {
+ update-desktop-database -q
+ systemctl daemon-reload
+ # ln to old name to keep compatibility
+ ln -s /usr/bin/peercoind /usr/bin/ppcoind
+
+ echo ""
+ echo "If you are having troubles with blockchain download, just backup wallet.dat, remove .ppcoin directory and start over."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+ rm /usr/bin/ppcoind
+}