aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-07-20 16:07:51 +0200
committerAngelo Naselli <anaselli@linux.it>2014-07-20 16:07:51 +0200
commit7758e0003582dede4e63bd7dd0fc42f50baec3b4 (patch)
treeaecf379a4940357f008faac34006f9b57bea92ad /lib
parent5cf200b2c891c34c89960da93c158f8d79edf1d5 (diff)
downloadcolin-keep-7758e0003582dede4e63bd7dd0fc42f50baec3b4.tar
colin-keep-7758e0003582dede4e63bd7dd0fc42f50baec3b4.tar.gz
colin-keep-7758e0003582dede4e63bd7dd0fc42f50baec3b4.tar.bz2
colin-keep-7758e0003582dede4e63bd7dd0fc42f50baec3b4.tar.xz
colin-keep-7758e0003582dede4e63bd7dd0fc42f50baec3b4.zip
removing media and writing config ones
Diffstat (limited to 'lib')
-rw-r--r--lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm b/lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm
index ef25fb3..26cb232 100644
--- a/lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm
+++ b/lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm
@@ -615,8 +615,8 @@ sub remove_callback {
foreach my $row (reverse(@rows)) {
$something_changed = 1;
urpm::media::remove_media($urpm, [ $urpm->{media}[$row] ]);
- urpm::media::write_urpmi_cfg($urpm);
}
+ urpm::media::write_urpmi_cfg($urpm);
remove_wait_msg($wait);
return 1;