Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#19668 - [pkgtools] new pkgfile-cron-disabling mechanism doesn't work as advertised
Attached to Project:
Community Packages
Opened by Isaac Dupree (idupree) - Tuesday, 01 June 2010, 03:25 GMT
Last edited by Gavin Bisesi (Daenyth) - Tuesday, 01 June 2010, 12:20 GMT
Opened by Isaac Dupree (idupree) - Tuesday, 01 June 2010, 03:25 GMT
Last edited by Gavin Bisesi (Daenyth) - Tuesday, 01 June 2010, 12:20 GMT
|
Details/etc/pkgtools/pkgfile.conf says,
# UPDATE_CRON controls whether the cronjob that runs pkgfile --update # will run. Setting it to 1 enables updates, setting to 0 disables It's wrong about setting to zero, because /etc/cron.daily/pkgfile starts #!/bin/bash . /etc/pkgtools/pkgfile.conf if [[ $UPDATE_CRON ]]; then and in bash, [[ $variable ]] is true as long as variable has any contents at all; in other words, the way to disable the cron job in pkgfile.conf is: UPDATE_CRON= . One of the two should be fixed, probably the bash code in the cron-script. |
This task depends upon
Closed by Gavin Bisesi (Daenyth)
Tuesday, 01 June 2010, 12:20 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#19609
Tuesday, 01 June 2010, 12:20 GMT
Reason for closing: Duplicate
Additional comments about closing:
if [[ $UPDATE_CRON == 1 ]]; then