diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-02-27 23:47:07 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-02-27 23:47:07 (GMT) |
commit | dff5cda971bd6dca1e499349903c942d2ce0c221 (patch) | |
tree | 54e8fea0ffc1fc7c82d171402dd1ffcfebcc392a /abs/mv-core/func/func.install | |
parent | 05a91fff085a94534d9096986d058a0b52af0849 (diff) | |
parent | 2702cde8aa327363a6a24caf55e3f041d6a2232e (diff) | |
download | linhes_pkgbuild-dff5cda971bd6dca1e499349903c942d2ce0c221.zip linhes_pkgbuild-dff5cda971bd6dca1e499349903c942d2ce0c221.tar.gz linhes_pkgbuild-dff5cda971bd6dca1e499349903c942d2ce0c221.tar.bz2 |
Merge branch 'HEAD' of ssh://cesman@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/mv-core/func/func.install')
-rwxr-xr-x | abs/mv-core/func/func.install | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/abs/mv-core/func/func.install b/abs/mv-core/func/func.install index a1d42f8..5f0fa72 100755 --- a/abs/mv-core/func/func.install +++ b/abs/mv-core/func/func.install @@ -4,6 +4,7 @@ # arg 1: the new package version pre_install() { /bin/true +mkdir -p /var/log/func } # arg 1: the new package version @@ -12,9 +13,15 @@ post_install() { then mkdir /etc/cron.tenminutes fi + if [ ! -e /etc/cron.tenminutes/failed_func.sh ] + then + ln -s /usr/bin/failed_func.sh /etc/cron.tenminutes/failed_func.sh + fi - ln -s /usr/bin/failed_func.sh /etc/cron.tenminutes/failed_func.sh - + if [ ! -e /var/log/func ] + then + mkdir -p /var/log/func + fi } |