[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Help requested, don't know what to do



My apologies for being too lazy to look this up myself in the fine documentation.

The removal script of libcifpp (libcifpp-data.postrm), should it remove the cron job in remove or in purge?

Perhaps the cronjob could be left in place, but should be inactive when removed but not yet purged?

And in my cron script, I have this line:

if [ "$EUID" -ne 0 ]
However, piuparts is stumbling on this, saying: [1]

...
0m21.1s INFO: Package libcifpp-data contains cron file: /etc/cron.weekly/update-libcifpp-data
0m21.1s DEBUG: Starting command: ['chroot', '/srv/piuparts.debian.org/tmp/tmp_wirspr9', '/etc/cron.weekly/update-libcifpp-data']
0m21.1s DUMP: 
  /etc/cron.weekly/update-libcifpp-data: 5: [: Illegal number: 
0m21.1s DEBUG: Command ok: ['chroot', '/srv/piuparts.debian.org/tmp/tmp_wirspr9', '/etc/cron.weekly/update-libcifpp-data']
0m21.1s ERROR: FAIL: Cron file /etc/cron.weekly/update-libcifpp-data has output with package removed
...

So, is $EUID not defined then?

Help to fix this is appreciated.

-maarten


[1] https://piuparts.debian.org/sid/fail/libcifpp-data_5.0.5-4.log
-- 
Maarten L. Hekkelman
http://www.hekkelman.com/

Reply to: