aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AdminPanel
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/AdminPanel
parent5cf200b2c891c34c89960da93c158f8d79edf1d5 (diff)
downloadmanatools-7758e0003582dede4e63bd7dd0fc42f50baec3b4.tar
manatools-7758e0003582dede4e63bd7dd0fc42f50baec3b4.tar.gz
manatools-7758e0003582dede4e63bd7dd0fc42f50baec3b4.tar.bz2
manatools-7758e0003582dede4e63bd7dd0fc42f50baec3b4.tar.xz
manatools-7758e0003582dede4e63bd7dd0fc42f50baec3b4.zip
removing media and writing config ones
Diffstat (limited to 'lib/AdminPanel')
-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 ef25fb3b..26cb2325 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;