aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ManaTools
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2015-12-27 18:18:52 +0100
committerAngelo Naselli <anaselli@linux.it>2015-12-27 18:18:52 +0100
commit2c78600208982e8d604683a58ac639a4aab8c4d8 (patch)
tree0ef2003df221bdff62d3bb9d9a1d9a1469327ce7 /lib/ManaTools
parent4f611c7ab4e719d84671e7e954340463c83a6959 (diff)
downloadmanatools-2c78600208982e8d604683a58ac639a4aab8c4d8.tar
manatools-2c78600208982e8d604683a58ac639a4aab8c4d8.tar.gz
manatools-2c78600208982e8d604683a58ac639a4aab8c4d8.tar.bz2
manatools-2c78600208982e8d604683a58ac639a4aab8c4d8.tar.xz
manatools-2c78600208982e8d604683a58ac639a4aab8c4d8.zip
removed breakpoints
Diffstat (limited to 'lib/ManaTools')
-rw-r--r--lib/ManaTools/Rpmdragora/init.pm2
-rw-r--r--lib/ManaTools/Rpmdragora/pkg.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/ManaTools/Rpmdragora/init.pm b/lib/ManaTools/Rpmdragora/init.pm
index f029cfbe..5c080116 100644
--- a/lib/ManaTools/Rpmdragora/init.pm
+++ b/lib/ManaTools/Rpmdragora/init.pm
@@ -52,7 +52,7 @@ our @ARGV_copy = @ARGV;
BEGIN { #- we want to run this code before the Gtk->init of the use-my_gtk
my $locale_dir = undef;
- $DB::single = 1;
+
if ("@ARGV" =~/--locales-dir(\s*(.+))/) {
$locale_dir = $2 ? $2 : $1;
}
diff --git a/lib/ManaTools/Rpmdragora/pkg.pm b/lib/ManaTools/Rpmdragora/pkg.pm
index 02e727d7..cd2b9b05 100644
--- a/lib/ManaTools/Rpmdragora/pkg.pm
+++ b/lib/ManaTools/Rpmdragora/pkg.pm
@@ -600,7 +600,7 @@ sub get_pkgs {
my $pkg_list = File::ShareDir::dist_file(ManaTools::Shared::distName(), 'modules/rpmdragora/gui.lst');
my @gui_pkgs = map { chomp; $_ } MDK::Common::File::cat_($pkg_list);
- $DB::single = 1;
+
# add meta packages to GUI packages list (which expect basic names not fullnames):
push @gui_pkgs, map { (split_fullname($_))[0] } @meta_pkgs;