diff options
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!" +} + |