diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/simple-scan/simple-scan.install |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/simple-scan/simple-scan.install')
-rw-r--r-- | community/simple-scan/simple-scan.install | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/community/simple-scan/simple-scan.install b/community/simple-scan/simple-scan.install new file mode 100644 index 000000000..9893818d9 --- /dev/null +++ b/community/simple-scan/simple-scan.install @@ -0,0 +1,24 @@ +pkgname=simple-scan + +post_install() { + echo -n "Installing GConf schemas..." + usr/sbin/gconfpkg --install ${pkgname} + + [ $? -eq 0 ] && echo " Done." || echo " FAILED!" +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + echo -n "Removing GConf schemas..." + usr/sbin/gconfpkg --uninstall ${pkgname} + + [ $? -eq 0 ] && echo " Done." || echo " FAILED!" +} + |