summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/printerdrake
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/printerdrake')
-rwxr-xr-xperl-install/standalone/printerdrake11
1 files changed, 1 insertions, 10 deletions
diff --git a/perl-install/standalone/printerdrake b/perl-install/standalone/printerdrake
index 889696b09..00ebf6288 100755
--- a/perl-install/standalone/printerdrake
+++ b/perl-install/standalone/printerdrake
@@ -26,16 +26,7 @@ use standalone;
use common;
use any;
-BEGIN {
- eval {
- require ugtk2;
- ugtk2->import(qw(:all));
- };
- if ($@) {
- print "This program cannot be run in console mode.\n";
- c::_exit(0); #- skip ugtk2::END
- }
-}
+use ugtk2 qw(:all);
use interactive;
use POSIX qw(mktime ceil);
use printer::printerdrake;