diff options
Diffstat (limited to 'gurpmi.addmedia')
-rwxr-xr-x | gurpmi.addmedia | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gurpmi.addmedia b/gurpmi.addmedia index 542e07e9..3920baf4 100755 --- a/gurpmi.addmedia +++ b/gurpmi.addmedia @@ -50,12 +50,7 @@ require_root_capability(); use rpmdrake; use Getopt::Long; -eval { require ugtk2; ugtk2->import(qw(:all)) }; -if ($@) { - print "This program cannot be run in console mode.\n"; - use POSIX qw(_exit); - _exit(0); #- skip ugtk2::END -} +use ugtk2 qw(:all); $::isStandalone = 1; my $fromfile; |