The problem is this line:
os.system( "crontab -l | grep -Pv '(?s)%s.*?backintime' | crontab -" % 
system_entry_message )

Running just
$ crontab -l | grep -Pv '(?s)#Back In Time system entry, this will be edited by 
the gui:.*?backintime'
on the command line returns:
grep: Support for the -P option is not compiled into this --disable-perl-regexp 
binary
on stderr and nothing on stdout, which feeds into crontab - and wipes out 
everything in the crontab.


Upgrading grep to version 2.5.4-4 from the testing repository adds support for 
the -P option, but a lot of people will probably be using debian stable for a 
while still.

-- 
Over zealous removal of crontab entries
https://bugs.launchpad.net/bugs/451811
You received this bug notification because you are a member of Back In
Time Team, which is subscribed to Back In Time.

Status in Back In Time: Confirmed

Bug description:
When the settings dialogue is opened/closed BackInTime deletes manually created 
entries with valid syntax.



_______________________________________________
Mailing list: https://launchpad.net/~bit-team
Post to     : bit-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~bit-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to