diff options
author | Stefan Husmann | 2015-06-09 00:34:56 +0200 |
---|---|---|
committer | Stefan Husmann | 2015-06-09 00:34:56 +0200 |
commit | 80566c3939de9769cc6ec31d35cc14044d52c456 (patch) | |
tree | 54f04d2fa464843824195e22fc10382131a6371a /sawfish.install | |
download | aur-80566c3939de9769cc6ec31d35cc14044d52c456.tar.gz |
initial version
Diffstat (limited to 'sawfish.install')
-rw-r--r-- | sawfish.install | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sawfish.install b/sawfish.install new file mode 100644 index 000000000000..3b43a746612a --- /dev/null +++ b/sawfish.install @@ -0,0 +1,21 @@ +infodir=/usr/share/info +file=sawfish.info + +post_install() { + [ -x usr/bin/install-info ] || return 0 + install-info $infodir/$file.gz $infodir/dir 2> /dev/null + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +}
\ No newline at end of file |