summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/notify-x11-free-driver-switch
blob: 30c42f82cc85ded8b08d033da26377497b5a290e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/perl
use lib qw(/usr/lib/libDrakX);
use standalone;
use interactive;
use common;

$::isStandalone = 0;
my $in = 'interactive'->vnew;
my $driver = eval {
    require Xconfig::xfree;
    my $raw_X = Xconfig::xfree->read;
    $raw_X->get_Driver;
} || N("unknown");


my $reason = cat_utf8($ENV{LOCK});

$in->ask_warn(N("Display driver setup"),
              join("\n\n",
                   N("The display driver has been automatically switched to '%s'.", $driver),
                   if_($reason, N("Reason: %s.", $reason)),
               ));
unlink $0 if $0 =~ m!/etc/X11/xsetup.d/!;
h>tree61adda7a4aa5f161b1fbb029f1b8b56fdb7a2755 /perl-install/standalone/icons/findf.xpm parent54eb97b0ab7689dce7d65fa474428bf5191bcfca (diff)downloaddrakx-3ee1a5e7ba6cef8eae84d203820c906fec36628c.tar
drakx-3ee1a5e7ba6cef8eae84d203820c906fec36628c.tar.gz
drakx-3ee1a5e7ba6cef8eae84d203820c906fec36628c.tar.bz2
drakx-3ee1a5e7ba6cef8eae84d203820c906fec36628c.tar.xz
drakx-3ee1a5e7ba6cef8eae84d203820c906fec36628c.zip
added new gfx only standalone
Diffstat (limited to 'perl-install/standalone/icons/findf.xpm')
0 files changed, 0 insertions, 0 deletions