summarylogtreecommitdiffstats
path: root/peercoin-qt.install
diff options
context:
space:
mode:
Diffstat (limited to 'peercoin-qt.install')
-rw-r--r--peercoin-qt.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/peercoin-qt.install b/peercoin-qt.install
new file mode 100644
index 000000000000..8361a4c3ab2f
--- /dev/null
+++ b/peercoin-qt.install
@@ -0,0 +1,18 @@
+post_install() {
+ update-desktop-database -q
+ systemctl daemon-reload
+ # ln to keep compatibility
+ ln -s /usr/bin/peercoin-qt /usr/bin/ppcoin-qt
+
+ 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/ppcoin-qt
+}