diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-25 04:12:37 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-25 04:12:37 (GMT) |
commit | 68f2e7fce1e049c990be3312f8d4261f352efb5a (patch) | |
tree | 807cd6cd511d405f69326e749876d4e3416a1ece /abs/core/windowmaker/wmaker.install | |
parent | 07badf9a555396812151487bd2b49d55d1abbb48 (diff) | |
download | linhes_pkgbuild-68f2e7fce1e049c990be3312f8d4261f352efb5a.zip linhes_pkgbuild-68f2e7fce1e049c990be3312f8d4261f352efb5a.tar.gz linhes_pkgbuild-68f2e7fce1e049c990be3312f8d4261f352efb5a.tar.bz2 |
wmaker: added workaround for minor bug symlink /usr/share/WindowMaker is symlinked to /usr/local/share/
Diffstat (limited to 'abs/core/windowmaker/wmaker.install')
-rw-r--r-- | abs/core/windowmaker/wmaker.install | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/abs/core/windowmaker/wmaker.install b/abs/core/windowmaker/wmaker.install new file mode 100644 index 0000000..c646e13 --- /dev/null +++ b/abs/core/windowmaker/wmaker.install @@ -0,0 +1,37 @@ +# This is a default template for a post-install scriptlet. +# Uncomment only required functions and remove any functions +# you don't need (and this header). + +## arg 1: the new package version +#pre_install() { + # do something here +#} + +## arg 1: the new package version +post_install() { + ln -s /usr/share/WindowMaker /usr/local/share/WindowMaker 2>/dev/null +} + +## arg 1: the new package version +## arg 2: the old package version +pre_upgrade() { + /bin/true +} + +## arg 1: the new package version +## arg 2: the old package version +post_upgrade() { + post_install +} + +## arg 1: the old package version +#pre_remove() { + # do something here +#} + +## arg 1: the old package version +#post_remove() { + # do something here +#} + +# vim:set ts=2 sw=2 et: |