summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-17 11:43:25 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-17 11:43:25 +0000
commit540e247c8c4c4a48926b02c5021625088f7c904f (patch)
tree6fc78333e45803604ba2fb869d51592b52677840 /perl-install
parent26e12cf7dce78529254cbcd1ed0ab94e0177b38f (diff)
downloaddrakx-540e247c8c4c4a48926b02c5021625088f7c904f.tar
drakx-540e247c8c4c4a48926b02c5021625088f7c904f.tar.gz
drakx-540e247c8c4c4a48926b02c5021625088f7c904f.tar.bz2
drakx-540e247c8c4c4a48926b02c5021625088f7c904f.tar.xz
drakx-540e247c8c4c4a48926b02c5021625088f7c904f.zip
(devfssymlinkf): use "mksymlink" instead of "symlink" so that devfsd doesn't give an error when the symlink already exists
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/any.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 899967213..db80c83c8 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -938,12 +938,12 @@ sub devfssymlinkf {
#- example: $of is mouse, $if is usbmouse, $devfs_if is input/mouse0
output_p("$::prefix/etc/devfs/conf.d/$of.conf",
-"REGISTER ^$devfs_if\$ CFUNCTION GLOBAL symlink $devfs_if $of
+"REGISTER ^$devfs_if\$ CFUNCTION GLOBAL mksymlink $devfs_if $of
UNREGISTER ^$devfs_if\$ CFUNCTION GLOBAL unlink $of
");
output_p("$::prefix/etc/devfs/conf.d/$if.conf",
-"REGISTER ^$devfs_if\$ CFUNCTION GLOBAL symlink $devfs_if $if
+"REGISTER ^$devfs_if\$ CFUNCTION GLOBAL mksymlink $devfs_if $if
UNREGISTER ^$devfs_if\$ CFUNCTION GLOBAL unlink $if
") if $devfs_if ne $if;