This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree".
The branch, master has been updated via bd3c8b59949509e6bc8a77104deb15854ad187bb (commit) from fc7d153f062440dd637bf4722afb2848ea7ae35c (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit bd3c8b59949509e6bc8a77104deb15854ad187bb Author: Arne Fitzenreiter arne_f@ipfire.org Date: Sun Jan 23 00:26:21 2011 +0100
core45: remove some addon cronjobs if the addons are not installed.
-----------------------------------------------------------------------
Summary of changes: config/rootfiles/core/45/update.sh | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-)
Difference in files: diff --git a/config/rootfiles/core/45/update.sh b/config/rootfiles/core/45/update.sh index 582bd82..69b61e3 100644 --- a/config/rootfiles/core/45/update.sh +++ b/config/rootfiles/core/45/update.sh @@ -26,7 +26,7 @@
# # Remove core updates from pakfire cache to save space... -rm -f /var/cache/pakfire core-upgrade-*.ipfire +rm -f /var/cache/pakfire/core-upgrade-*.ipfire # #Stop services echo Stopping Proxy @@ -38,6 +38,12 @@ killall vpn-watch #Extract files extract_files
+# +# Remove some addon cronjobs if the addons are not installed +[ ! -e /opt/pakfire/db/installed/meta-cacti ] && rm -f /etc/fcron.cyclic/cacti.cron +[ ! -e /opt/pakfire/db/installed/meta-gnump3d ] && rm -f /etc/fcron.daily/gnump3d-index +[ ! -e /opt/pakfire/db/installed/meta-asterisk ] && rm -f /etc/fcron.minutely/wakeup.sh + # Remove disable cron mails... sed "s|MAILTO=root|MAILTO=|g" < /var/spool/cron/root.orig > /var/tmp/root.tmp fcrontab /var/tmp/root.tmp
hooks/post-receive -- IPFire 2.x development tree