cookutils rev 773

cooker: recook button support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 13 14:57:30 2015 +0100 (2015-11-13)
parents 4f3c63c1e03c
children 2185b741fba9
files cooker
line diff
     1.1 --- a/cooker	Fri Nov 13 12:40:09 2015 +0100
     1.2 +++ b/cooker	Fri Nov 13 14:57:30 2015 +0100
     1.3 @@ -302,9 +302,10 @@
     1.4  # Run SliTaz Cooker every $hours hours
     1.5  0 */$hours * * *  /usr/bin/cooker --output=html
     1.6  */5 * * * *  [ $CACHE/cooker-request -nt $CACHE/activity ] && /usr/bin/cooker --output=html
     1.7 +*/5 * * * *  [ -s $CACHE/recook-packages ] && /usr/bin/cooker list $CACHE/recook-packages
     1.8  EOT
     1.9 -			touch $CACHE/cooker-request
    1.10 -			chmod 666 $CACHE/cooker-request
    1.11 +			touch $CACHE/cooker-request $CACHE/recook-packages
    1.12 +			chmod 666 $CACHE/cooker-request $CACHE/recook-packages
    1.13  			killall crond 2>/dev/null && /etc/init.d/crond start
    1.14  		fi ;;
    1.15