From 2c78600208982e8d604683a58ac639a4aab8c4d8 Mon Sep 17 00:00:00 2001 From: Angelo Naselli Date: Sun, 27 Dec 2015 18:18:52 +0100 Subject: removed breakpoints --- lib/ManaTools/Rpmdragora/init.pm | 2 +- lib/ManaTools/Rpmdragora/pkg.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/ManaTools') 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; -- cgit v1.2.1