summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/draknet
blob: ae37c7f457c4d70f4706b18d3cb2f67227c9e9a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/usr/bin/perl

#- CHANGE THIS! (dam's)
# DrakNet

# Copyright (C) 1999 MandrakeSoft (damien@mandrakesoft.com)
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

use lib qw(/usr/lib/libDrakX);

use interactive;
use netconnect;
use c;

local $_ = join '', @ARGV;

#/-h/ and die "usage: draknet[--xf3] [--beginner] [--expert] [--auto] [--noauto] [--skiptest] [--testing]\n";

my $netcnx = {};

$::isStandalone = 1;
#$::force_xf3 = /-xf3/;
#$::beginner = /-beginner/;
#$::expert = /-expert/;
#$::auto = /-auto/;
#$::noauto = /-noauto/;
#$::testing = /-testing/;
#$i->{skiptest} = /-skiptest/;

#my $f = "/usr/X11R6/lib/X11/Cards";
#-e $f or system("urpmi --auto XFree86 XFree86-75dpi-fonts");
#-e $f or die "install XFree86 first!\n";

my $in = vnew interactive('su');

netconnect::intro('', $netcnx, $in, -e "/etc/pcmcia", sub { system("urpmi --auto XFree86-$_[0]") });

$in->exit(0);
tall?id=f2b11badb1000b5deee26dc6c23a9d8c9f83d84f'>updateThierry Vignaud2005-04-251-148/+152 | * using c::rpmvercmp is cleanerPascal Rigaux2005-04-251-2/+1 | * sync with copyright bumpingThierry Vignaud2005-04-2571-113/+113 | * bump copyrigth noticeThierry Vignaud2005-04-2530-31/+31 | * list myselfThierry Vignaud2005-04-251-0/+1 | * damien is no more working for usThierry Vignaud2005-04-251-1/+1 | * fix comparing kernel version greater than 6.8Pascal Rigaux2005-04-251-1/+2 | * updated Welsh filePablo Saratxaga2005-04-251-8/+16 | * updated Italian and Spanish filesPablo Saratxaga2005-04-253-2741/+2467 | * corrected urlPablo Saratxaga2005-04-251-2/+2 | * Updated Malay translationSharuzzaman Ahmat Raslan2005-04-251-2489/+2685 | * handle errors in wireless packages installation, simplifyOlivier Blin2005-04-242-36/+46 | * allow to disable WPA even if no key is usedOlivier Blin2005-04-241-6/+6 | * fix WPA keyOlivier Blin2005-04-242-4/+4 | * more Mandrake -> Mandriva changesPablo Saratxaga2005-04-2336-676/+649 | * various Mandrake -> Mandriva changesPablo Saratxaga2005-04-2371-18861/+16657 | * s/Mandrivalinux/Mandriva Linux/Pablo Saratxaga2005-04-2314-53/+53 | * mandrakelinux -> Mandriva LinuxPablo Saratxaga2005-04-231-4/+4 | * s/Mandrivalinux/Mandriva Linux/Pablo Saratxaga2005-04-2318-41/+41 | * s/www.mandrakelinux.com/www.mandrivalinux.com/Pablo Saratxaga2005-04-231-7/+7 | | | | | s/Mandrivalinux/Mandriva Linux/ * s/www.linux-mandrake.com/www.mandrivalinux.com/Pablo Saratxaga2005-04-231-2/+2 | * mandrakesoft.com -> mandriva.comPablo Saratxaga2005-04-232-4/+4 | * updated po filesPablo Saratxaga2005-04-2359-1658/+4170 | * UpdatedWilly Sudiarto Raharjo2005-04-231-25/+30 | * UpdatedWilly Sudiarto Raharjo2005-04-221-3/+3 | * *** empty log message ***Dovix2005-04-221-242/+186 | * meloJosé Jorge2005-04-211-3344/+3161 | * fix Signal Quality parsing (and re-indent)Olivier Blin2005-04-211-3/+3 | * fix doble messagesThierry Vignaud2005-04-211-11/+1 | * 10.3-0.5mdkThierry Vignaud2005-04-211-1/+4 | * switch from MandrakeSoft to MandrivaThierry Vignaud2005-04-21