diff options
author | Matt Maguire | 2023-03-05 17:49:03 +1100 |
---|---|---|
committer | Matt Maguire | 2023-03-05 17:49:03 +1100 |
commit | 735eb334dfd86703493049c41eb38c1584a4ed89 (patch) | |
tree | 2cd8f4c4b071e4a26316a70145beda945bc48201 /ansel.install | |
parent | e2177f9dd2a135339d83cbf54c4459f6998959d7 (diff) | |
download | aur-735eb334dfd86703493049c41eb38c1584a4ed89.tar.gz |
updated package to support new "Ansel" name for this darktable fork
Diffstat (limited to 'ansel.install')
-rw-r--r-- | ansel.install | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ansel.install b/ansel.install new file mode 100644 index 000000000000..3e729879d4f7 --- /dev/null +++ b/ansel.install @@ -0,0 +1,23 @@ +pkgname=ansel + +post_install() { +# usr/sbin/gconfpkg --install ${pkgname} + [ -x `which update-desktop-database` ] && update-desktop-database -q +} + +pre_upgrade() { + pre_remove +} + +post_upgrade() { + post_install +} + +pre_remove() { +# usr/sbin/gconfpkg --uninstall ${pkgname} + true +} + +post_remove() { + [ -x `which update-desktop-database` ] && update-desktop-database -q +} |