diff --git a/data/packagekit-background b/data/packagekit-background index 4bfc9f2d5..45f190150 100644 --- a/data/packagekit-background +++ b/data/packagekit-background @@ -1,15 +1,11 @@ # Don't install, just check (valid: yes|no) CHECK_ONLY=no -# if MAILTO is set, the mail command is used to deliver yum output +# if MAILTO is set, the mail command is used to deliver PackageKit output # by default MAILTO is unset, so crond mails the output by itself #MAILTO=root -# you may set SYSTEMNAME if you want your yum emails tagged differently +# you may set SYSTEMNAME if you want your PackageKit emails tagged differently # default is output of hostname command #SYSTEM_NAME="" -# you may set DAYS_OF_WEEK to the days of the week you want to run -# default is every day -#DAYS_OF_WEEK="0123456" - diff --git a/data/packagekit-background.cron b/data/packagekit-background.cron index 02e83c252..ebdde96cc 100644 --- a/data/packagekit-background.cron +++ b/data/packagekit-background.cron @@ -14,13 +14,6 @@ # set default for SYSTEMNAME [ -z "$SYSTEMNAME" ] && SYSTEMNAME=$(hostname) -# only run on certain days of the week -dow=`date +%w` -DAYS_OF_WEEK=${DAYS_OF_WEEK:-0123456} -if [ ${DAYS_OF_WEEK/$dow/} == ${DAYS_OF_WEEK} ]; then - exit 0 -fi - PKTMP=$(mktemp /var/run/packagekit-cron.XXXXXX) # wait a random amount of time to avoid hammering the servers