diff options
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 } |