From e30261240719f3ba64c30cd6fd891a1e8c903f62 Mon Sep 17 00:00:00 2001 From: olgeni Date: Thu, 22 Feb 2001 21:10:34 +0000 Subject: Fix creation of /etc/vmware link (it could be created into itself, if it already existed at install time). --- emulators/vmware2/Makefile | 2 +- emulators/vmware2/pkg-plist | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'emulators/vmware2') diff --git a/emulators/vmware2/Makefile b/emulators/vmware2/Makefile index 5dffbb8ab8f7..269e5e6976c6 100644 --- a/emulators/vmware2/Makefile +++ b/emulators/vmware2/Makefile @@ -153,7 +153,7 @@ pre-install: setoptions .endif post-install: - ${LN} -s ${PREFIX}/etc/vmware /etc/vmware + ${LN} -sf ${PREFIX}/etc/vmware /etc/ @${CAT} ${PKGMESSAGE} .include diff --git a/emulators/vmware2/pkg-plist b/emulators/vmware2/pkg-plist index a96657129cf9..3410eb1b03ed 100644 --- a/emulators/vmware2/pkg-plist +++ b/emulators/vmware2/pkg-plist @@ -119,7 +119,7 @@ share/doc/vmware/SAMBA-LICENSE @exec chmod 666 %%LINUXBASE%%/dev/null @exec mknod %%LINUXBASE%%/dev/hda b 0 0x00010002 @exec mknod %%LINUXBASE%%/dev/hdb b 0 0x0001000a -@exec ln -s %D/etc/vmware /etc/vmware +@exec ln -sf %D/etc/vmware /etc/ @exec mknod %%LINUXBASE%%/dev/vmmon c 200 0 @exec mknod %%LINUXBASE%%/dev/vmnet1 c 149 65537 @unexec rm -f /etc/vmware %%LINUXBASE%%/dev/vmmon %%LINUXBASE%%/dev/vmnet1 %%LINUXBASE%%/bin/df %%LINUXBASE%%/dev/tty[0-9]* %%LINUXBASE%%/dev/hd? %%LINUXBASE%%/dev/null -- cgit