summarylogtreecommitdiffstats
path: root/peercoind.install
diff options
context:
space:
mode:
authorcimer2017-10-30 14:38:04 +0100
committercimer2017-10-30 14:38:04 +0100
commite0a227c32098860fccfdf726689406235ad28133 (patch)
tree3386d32c84d25f83fe171bbac6719fdc466f1567 /peercoind.install
parentb10dbee3b5d030c7420a3d5a196b5beae62ec027 (diff)
downloadaur-e0a227c32098860fccfdf726689406235ad28133.tar.gz
split .install files and other minor fixes.
Diffstat (limited to 'peercoind.install')
-rw-r--r--peercoind.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/peercoind.install b/peercoind.install
new file mode 100644
index 000000000000..73564fecf543
--- /dev/null
+++ b/peercoind.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
+}