diff options
Diffstat (limited to 'whitebox.install')
-rw-r--r-- | whitebox.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/whitebox.install b/whitebox.install new file mode 100644 index 000000000000..b227dc8c66fc --- /dev/null +++ b/whitebox.install @@ -0,0 +1,15 @@ +## arg 1: the new package version +post_install() { + ln -s /opt/whitebox/whitebox.sh /usr/bin/whitebox + update-desktop-database -q +} +## arg 1: the new package version +## arg 2: the old package version +post_upgrade() { + rm /usr/bin/whitebox + post_install +} +## arg 1: the old package version +post_remove() { + rm /usr/bin/whitebox +} |