diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-08-17 11:43:25 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-08-17 11:43:25 +0000 |
commit | 540e247c8c4c4a48926b02c5021625088f7c904f (patch) | |
tree | 6fc78333e45803604ba2fb869d51592b52677840 | |
parent | 26e12cf7dce78529254cbcd1ed0ab94e0177b38f (diff) | |
download | drakx-backup-do-not-use-540e247c8c4c4a48926b02c5021625088f7c904f.tar drakx-backup-do-not-use-540e247c8c4c4a48926b02c5021625088f7c904f.tar.gz drakx-backup-do-not-use-540e247c8c4c4a48926b02c5021625088f7c904f.tar.bz2 drakx-backup-do-not-use-540e247c8c4c4a48926b02c5021625088f7c904f.tar.xz drakx-backup-do-not-use-540e247c8c4c4a48926b02c5021625088f7c904f.zip |
(devfssymlinkf): use "mksymlink" instead of "symlink" so that devfsd doesn't give an error when the symlink already exists
-rw-r--r-- | perl-install/any.pm | 4 |
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; |