summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpterjan <pterjan@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2010-08-16 22:46:29 +0000
committerpterjan <pterjan@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94>2010-08-16 22:46:29 +0000
commit93e5aa00573b8025657da56c8da4fb683d4a018e (patch)
tree441bcb6a106aab8004434fa7adf237d21a454837
parent68da6c845c7dd69f0087234a8d605a42b90eae8b (diff)
downloaddraksnapshot-93e5aa00573b8025657da56c8da4fb683d4a018e.tar
draksnapshot-93e5aa00573b8025657da56c8da4fb683d4a018e.tar.gz
draksnapshot-93e5aa00573b8025657da56c8da4fb683d4a018e.tar.bz2
draksnapshot-93e5aa00573b8025657da56c8da4fb683d4a018e.tar.xz
draksnapshot-93e5aa00573b8025657da56c8da4fb683d4a018e.zip
Ugly temporary fix for #58534
git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@270569 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94
-rw-r--r--NEWS2
-rwxr-xr-xdraksnapshot-config10
2 files changed, 8 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index 61de5c1..0353834 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- do not delete interval lines since they can no longer be set (#58534)
+
Version 0.20.3 - 26 May 2010
- translation updates
diff --git a/draksnapshot-config b/draksnapshot-config
index 4563760..c389bcf 100755
--- a/draksnapshot-config
+++ b/draksnapshot-config
@@ -285,10 +285,12 @@ sub add {
}
sub save() {
- save_keyword('interval', map {
- my $val = $entries{$_}->get_text;
- if_($val, join("\t", 'interval', $_, $val));
- } @ordered_intervals);
+ # $entries are currently not added to window so $val will always be 0
+ # As there is no way currently to change interval, the best is to not rewrite them (#58534)
+# save_keyword('interval', map {
+# my $val = $entries{$_}->get_text;
+# if_($val, join("\t", 'interval', $_, $val));
+# } @ordered_intervals);
if (!$button->get('sensitive')) { # Mandriva defaults
@{$backup_list->{data}} = '/'; #qw(/bin /boot /etc /home /lib /lib64 /opt);