summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-08-22 12:31:01 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-08-22 12:31:01 +0000
commit97508a48507de82086637978537726a2c5cf19bc (patch)
tree3ca7b6995628913c0a8b698765eed8eae9e0dd32 /perl-install
parent552038882add046ed81167e2318200449592993a (diff)
downloaddrakx-97508a48507de82086637978537726a2c5cf19bc.tar
drakx-97508a48507de82086637978537726a2c5cf19bc.tar.gz
drakx-97508a48507de82086637978537726a2c5cf19bc.tar.bz2
drakx-97508a48507de82086637978537726a2c5cf19bc.tar.xz
drakx-97508a48507de82086637978537726a2c5cf19bc.zip
simplify previous commit (the /tty/ was there for serial mice)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 1b4c03211..5a6ed03fc 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -917,7 +917,7 @@ UNREGISTER ^$devfs_if\$ CFUNCTION GLOBAL unlink $if
") if $devfs_if ne $if && $if !~ /^hd[a-z]/ && $if !~ /^sr/ && $if !~ /^sd[a-z]/;
output_p("$::prefix/etc/udev/rules.d/20-$of.rules", qq(KERNEL=="$if", SYMLINK="$of"\n))
- if $of !~ /dvd/ || $if =~ /^tty/;
+ if $of !~ /dvd/;
#- when creating a symlink on the system, use devfs name if devfs is mounted
symlinkf($devfs_if, "$::prefix/dev/$if") if $devfs_if ne $if && detect_devices::dev_is_devfs();