summarylogtreecommitdiffstats
path: root/nzb-monkey-go.install
blob: c7c138df78436b4a4fbd9676d4739c0a527d204f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
post_install() {
    echo ">>> To complete the installation of nzb-monkey-go, please run (as normal user):"
    echo ">>>     nzb-monkey-go --register"
    echo ">>> This will create a .conf file in your home .config folder, a .desktop file in ~/.local/share/applications/ and add the nzblink handler to mimeapps.list using xdg-mime"
    echo ">>> After this, the config will be OPENED AUTOMATICALLY WITH YOUR DEFAULT DESKTOP EDITOR. Make sure to edit the config to your needs."
}

post_remove() {
    echo ">>> If you no longer need the nzb-monkey-go desktop integration, consider removing:"
    echo ">>>     ~/.config/nzb-monkey-go.conf"
    echo ">>>     ~/.local/share/applications/nzblnk.desktop"
    echo ">>> Also, please review your default application for 'x-scheme-handler/nzblnk' using:"
    echo ">>>     xdg-mime query default x-scheme-handler/nzblnk"
    echo ">>> And adjust as necessary."
}