diff options
author | SaultDon | 2015-07-02 10:41:02 -0700 |
---|---|---|
committer | SaultDon | 2015-07-02 10:41:02 -0700 |
commit | 500b3ed6bc5a65602ed8832c880d8649ae5d443e (patch) | |
tree | c860be0dc825e1aa8ccff79079181bca3b601095 /whitebox.install | |
download | aur-500b3ed6bc5a65602ed8832c880d8649ae5d443e.tar.gz |
Initial import
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 +} |