diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-07-19 09:55:04 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-07-19 09:55:04 +0000 |
commit | 9f17bae225e402bdf43f642afff8fb10d11bf468 (patch) | |
tree | 9f1cc88c1995766c0019267c0483d287fc5d0e77 | |
parent | 122a3389ea8500e734a2670f0f7b79fc739bb560 (diff) | |
download | rpmdrake-9f17bae225e402bdf43f642afff8fb10d11bf468.tar rpmdrake-9f17bae225e402bdf43f642afff8fb10d11bf468.tar.gz rpmdrake-9f17bae225e402bdf43f642afff8fb10d11bf468.tar.bz2 rpmdrake-9f17bae225e402bdf43f642afff8fb10d11bf468.tar.xz rpmdrake-9f17bae225e402bdf43f642afff8fb10d11bf468.zip |
force ignore flag to be undef if false (since write_config has been
rewritten to write flags only if defined)
-rwxr-xr-x | edit-urpm-sources.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl index 5ac174f1..7aa45f55 100755 --- a/edit-urpm-sources.pl +++ b/edit-urpm-sources.pl @@ -638,7 +638,7 @@ sub mainwindow { $tr->signal_connect(toggled => sub { my (undef, $path) = @_; my $iter = $list->get_iter_from_string($path); - invbool(\$urpm->{media}[$path]{ignore}); + $urpm->{media}[$path]{ignore} = !$urpm->{media}[$path]{ignore} || undef; $list->set($iter, 0, !$urpm->{media}[$path]{ignore}); }); |