summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-01-06 17:24:08 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-01-06 17:24:08 +0000
commite47d0821bfd0def11d10bb68a46a3335934f283a (patch)
treecc930329350bc518f5c9dc586d4e3f0fb1d72091 /perl-install/standalone
parent1dfe0932b061617719939a72f91fb70ac4ac23b8 (diff)
downloaddrakx-e47d0821bfd0def11d10bb68a46a3335934f283a.tar
drakx-e47d0821bfd0def11d10bb68a46a3335934f283a.tar.gz
drakx-e47d0821bfd0def11d10bb68a46a3335934f283a.tar.bz2
drakx-e47d0821bfd0def11d10bb68a46a3335934f283a.tar.xz
drakx-e47d0821bfd0def11d10bb68a46a3335934f283a.zip
perl_checker compliance
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/adduserdrake2
-rwxr-xr-xperl-install/standalone/drakclock2
-rw-r--r--perl-install/standalone/localedrake1
3 files changed, 1 insertions, 4 deletions
diff --git a/perl-install/standalone/adduserdrake b/perl-install/standalone/adduserdrake
index ff024dbf7..4db218671 100755
--- a/perl-install/standalone/adduserdrake
+++ b/perl-install/standalone/adduserdrake
@@ -8,8 +8,6 @@ use common;
use interactive;
use any;
-my @etc_pass_fields = qw(name pw uid gid realname home shell);
-my @shells = any::shells();
my $isMD5 = cat_("/etc/pam.d/system-auth") =~ /md5/;
my $isShadow = cat_("/etc/pam.d/system-auth") =~ /shadow/;
diff --git a/perl-install/standalone/drakclock b/perl-install/standalone/drakclock
index 35620e4a8..4637e1b46 100755
--- a/perl-install/standalone/drakclock
+++ b/perl-install/standalone/drakclock
@@ -244,7 +244,7 @@ sub motion_event {
$button_reset->set_sensitive(1);
}
- $$Radian = -atan2(($event->x-$midx), ($event->y-$midy)) + $PI;
+ $$Radian = -atan2($event->x - $midx, $event->y - $midy) + $PI;
Repaint($widget);
rad_to_time();
diff --git a/perl-install/standalone/localedrake b/perl-install/standalone/localedrake
index 11187758c..e89804d3f 100644
--- a/perl-install/standalone/localedrake
+++ b/perl-install/standalone/localedrake
@@ -33,7 +33,6 @@ if (defined $klang) {
my $locale = lang::read('', $>);
my $in = 'interactive'->vnew;
-my $one_lang_only;
sub select_language() {
$locale->{lang} = any::selectLanguage($in, $locale->{lang});