diff options
Diffstat (limited to 'perl-install/standalone/draksec')
-rwxr-xr-x | perl-install/standalone/draksec | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec index 2c787a5d6..96ce4b3df 100755 --- a/perl-install/standalone/draksec +++ b/perl-install/standalone/draksec @@ -3,7 +3,7 @@ # # Copyright (c) 2002-2008 Christian Belisle # Thierry Vignaud <tvignaud@mandriva.com> -# Eugeni Dodonov <eugeni@mandriva.com> +# Eugeni Dodonov <eugeni@andriva.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2, as @@ -111,7 +111,7 @@ my $common_opts = { col_spacings => 10, row_spacings => 5, mcc => 1 }; ######################## AUTH ################################### my %progs; -my $auth_string = N("Configure authentication required to access Mandriva tools"); +my $auth_string = N("Configure authentication required to access %s tools"); my %auth = ( no_passwd => N("No password"), @@ -122,9 +122,9 @@ my %auth = ( sub default_auth_value { my ($prog) = @_; my $link = readlink("/etc/pam.d/$prog"); - if ($link =~ /mandriva-console-auth/) { + if ($link =~ /mageia-console-auth/) { return $auth{no_passwd}; - } elsif ($link =~ /mandriva-simple-auth/) { + } elsif ($link =~ /mageia-simple-auth/) { my ($user) = cat_("/etc/security/console.apps/$prog") =~ /USER=(.*)/; return $auth{root_passwd} if $user eq 'root'; return $auth{user_passwd} if $user eq '<user>'; @@ -134,9 +134,9 @@ sub default_auth_value { sub set_auth_value { my ($prog, $auth) = @_; if ($auth eq 'no_passwd') { - symlinkf('../../etc/pam.d/mandriva-console-auth', "/etc/pam.d/$prog"); + symlinkf('../../etc/pam.d/mageia-console-auth', "/etc/pam.d/$prog"); } else { - symlinkf('../../etc/pam.d/mandriva-simple-auth', "/etc/pam.d/$prog"); + symlinkf('../../etc/pam.d/mageia-simple-auth', "/etc/pam.d/$prog"); my $value = $auth eq 'user_passwd' ? '<user>' : 'root'; substInFile { s/^USER=.*/USER=$value/; @@ -147,7 +147,7 @@ sub set_auth_value { my %descr = ( rpmdrake => N("Software Management"), - mandrivaupdate => N("Mandriva Update"), + mageiaupdate => N("%s Update"), 'drakrpm-edit-media' => N("Software Media Manager"), drak3d => N("Configure 3D Desktop effects"), xfdrake => N("Graphical Server Configuration"), @@ -201,7 +201,7 @@ gtkpack_($vbox, } split(' ', $progs) ); } ( - [ N("Software Management"), 'rpmdrake mandrivaupdate drakrpm-edit-media' ], + [ N("Software Management"), 'rpmdrake mageiaupdate drakrpm-edit-media' ], [ N("Hardware"), 'drak3d xfdrake drakmouse drakkeyboard drakups' ], [ N("Network"), 'drakconnect drakhosts draknetcenter drakroam drakvpn drakproxy drakgw' ], [ N("System"), 'drakauth drakbackup drakfont draklog drakxservices userdrake drakclock' ], |