diff options
author | aurelien <aurelien@cwb.io> | 2012-11-13 16:42:17 +0100 |
---|---|---|
committer | aurelien <aurelien@cwb.io> | 2012-11-13 16:42:17 +0100 |
commit | 5ae2d0f4bb7b2d29aca46139292207252616ac1f (patch) | |
tree | 5ddf00b36f0c80c65769409af8be6bffe7643206 /pcr/gnucash-docs/gnucash-docs.install | |
parent | 0019e0942eb838ccf7fa72962e0f0d9f49cd1cf4 (diff) | |
download | abslibre-5ae2d0f4bb7b2d29aca46139292207252616ac1f.tar.gz abslibre-5ae2d0f4bb7b2d29aca46139292207252616ac1f.tar.bz2 abslibre-5ae2d0f4bb7b2d29aca46139292207252616ac1f.zip |
humm be
Diffstat (limited to 'pcr/gnucash-docs/gnucash-docs.install')
-rw-r--r-- | pcr/gnucash-docs/gnucash-docs.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pcr/gnucash-docs/gnucash-docs.install b/pcr/gnucash-docs/gnucash-docs.install new file mode 100644 index 000000000..e82d4b10b --- /dev/null +++ b/pcr/gnucash-docs/gnucash-docs.install @@ -0,0 +1,20 @@ +post_install() { + echo "updating scrollkeeper catalogue ..." + scrollkeeper-update -q -p /var/lib/scrollkeeper + update-desktop-database -q +} + +post_upgrade() { + echo "updating scrollkeeper catalogue ..." + update-desktop-database -q + scrollkeeper-update -q -p /var/lib/scrollkeeper +} + +post_remove() { + post_install $1 +} + +op=$1 +shift + +$op $* |