diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-03-18 19:23:44 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-03-18 19:23:44 +0000 |
commit | 2b7e2cebe882c914ee00da9bc75980bda9ecba53 (patch) | |
tree | 007ee6c9432dc1901c9ff50b0cad23e6dd5d148c /perl-install | |
parent | ef019637f3922470e355405514dbc37ef8baf7c7 (diff) | |
download | drakx-2b7e2cebe882c914ee00da9bc75980bda9ecba53.tar drakx-2b7e2cebe882c914ee00da9bc75980bda9ecba53.tar.gz drakx-2b7e2cebe882c914ee00da9bc75980bda9ecba53.tar.bz2 drakx-2b7e2cebe882c914ee00da9bc75980bda9ecba53.tar.xz drakx-2b7e2cebe882c914ee00da9bc75980bda9ecba53.zip |
(add_device_wizard) fix device path when manually adding an UPS (#12290)
Diffstat (limited to 'perl-install')
-rwxr-xr-x | perl-install/standalone/drakups | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/standalone/drakups b/perl-install/standalone/drakups index a5a0c9206..488937fb8 100755 --- a/perl-install/standalone/drakups +++ b/perl-install/standalone/drakups @@ -149,7 +149,10 @@ Please fill in its name, its driver and its port.", $model, $vendor); help => N("The port on which is connected your ups") }, ]; }, - next => "end", + post => sub { + $port = '/dev/' . $port if $port !~ m!/dev/!; + return 'end', + }, }, end => { name => sub { |