summarylogtreecommitdiffstats
path: root/peercoin.install
blob: 368f6396aae6e8ae67a2c11cf61fab726a32445c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
post_install() {
    update-desktop-database -q
    systemctl daemon-reload
    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. This is caused by incompatibility of libdb++ versions."
}

post_upgrade() {
    post_install $1
}

post_remove() {
    post_install $1
    rm /usr/bin/ppcoind
}