From 0f881eacc9dd3d36486097322c189d0737b56154 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 18 Nov 2002 08:05:41 +0000 Subject: - standalone.pm : o make it be 'use strict' aware o factorize options managment in one place - standalone tools : o they all now support -h|--help -v|--version, ... o they can add their own options to %standalone::usages - harddrake : use std --testing/$::testing rather than its own --test option --- perl-install/standalone/adduserdrake | 7 ------- 1 file changed, 7 deletions(-) (limited to 'perl-install/standalone/adduserdrake') diff --git a/perl-install/standalone/adduserdrake b/perl-install/standalone/adduserdrake index 98a2e3dd0..20268d9ff 100755 --- a/perl-install/standalone/adduserdrake +++ b/perl-install/standalone/adduserdrake @@ -8,13 +8,6 @@ use common; use interactive; use any; -local $_ = join '', @ARGV; - -/-h/ and die "usage: adduserdrake [--beginner] [--expert] []\n"; - -$::beginner = /-beginner/; -$::expert = /-expert/; - my @etc_pass_fields = qw(name pw uid gid realname home shell); my @shells = grep { -x $_ } map { "/bin/$_" } qw(bash tcsh zsh ash ksh); my $isMD5 = cat_("/etc/pam.d/system-auth") =~ /md5/; -- cgit v1.2.1