diff options
Diffstat (limited to 'nzb-monkey.install')
-rw-r--r-- | nzb-monkey.install | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/nzb-monkey.install b/nzb-monkey.install new file mode 100644 index 000000000000..2bb31facb245 --- /dev/null +++ b/nzb-monkey.install @@ -0,0 +1,19 @@ +post_install() { + echo "update desktop mime database..." + update-desktop-database -q + echo "For a working pyperclip it is necessary to install one of its optional dependencies xsel or xclip" + + echo "you need to run nzbmonkey once as root to create the nzbmonkey.cfg file" + echo "which you will then need to adapt according to your environment" +} + +post_upgrade() { + post_install $1 +} + + +post_remove() { + rm /usr/share/applications/nzblnk.desktop + echo "update desktop mime database..." + update-desktop-database -q +} |