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

libcifpp-data.postrm cron and piuparts (was: Re: Help requested, don't know what to do)



Hi Maarten,

On Mon, Jan 02, 2023 at 10:19:59AM +0100, Maarten L. Hekkelman wrote:
> 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 ]

For sure there should be an exta space there:

not

 if[ "$EUID"-ne 0 ]

but

 if[ "$EUID" -ne 0 ]

Dunno if that fixes all problems though...

HTH, Bye,

Joost


Reply to: