desktop/backintime-kde/fix_spaces_in_anacron_jobs.patch

14 lines
619 B
Diff
Raw Normal View History

2013-10-14 04:41:20 +08:00
=== modified file 'common/config.py'
--- a/common/config.py 2013-09-09 19:58:00 +0000
+++ b/common/config.py 2013-09-12 18:53:36 +0000
@@ -1271,7 +1271,7 @@
day = self.get_automatic_backup_day(profile_id)
weekday = self.get_automatic_backup_weekday(profile_id)
period = str(self.get_automatic_backup_anacron_period(profile_id))
- job_identify = profile_id + '_' + profile_name
+ job_identify = profile_id + '_' + profile_name.replace(' ', '_')
if self.AT_EVERY_BOOT == backup_mode:
cron_line = 'echo "{msg}\n@reboot {cmd}"'