1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/print/acroread4/files/patch-aa
2000-03-10 08:26:56 +00:00

42 lines
1.4 KiB
Plaintext

--- INSTALL.orig Wed Jan 26 16:38:00 2000
+++ INSTALL Thu Mar 9 10:33:31 2000
@@ -115,6 +115,8 @@
if [ "$i" -a -f "$i" ] ; then
if [ `uname -s` = "Linux" ] ; then
size=`ls -lLn "$i" | ( read perm links owner group size date ; echo $size )`
+ elif [ `uname -s` = "FreeBSD" ] ; then
+ size=`ls -lL "$i" | ( read perm links owner group size date ; echo $size )`
else
size=`ls -lLon "$i" | ( read perm links owner size date ; echo $size )`
fi
@@ -157,9 +159,9 @@
uid=`expr "$id_out" : 'uid=[0-9]*(\([^)]*\))'`
gid=`expr "$id_out" : '[^ ]* gid=[0-9]*(\([^)]*\))'`
if [ "$uid" = "root" ] ; then
- ( cd "$1" ; tar xfo "$2" ; chown -R $uid . ; chgrp -R $gid . )
+ ( cd "$1" ; tar --unlink -xof "$2" ; chown -R $uid . ; chgrp -R $gid . )
else
- ( cd "$1" ; tar xfo "$2" )
+ ( cd "$1" ; tar --unlink -xof "$2" )
fi
}
@@ -490,7 +492,7 @@
SearchPlatformTar="$3"
CustomPlatformTar="$4"
- OutputLicense "$ReadLicense"
+# OutputLicense "$ReadLicense"
ReadLicense=""
PrintRequiredFree "$ReadTar" "$SearchTar" "$CustomTar" \
@@ -563,7 +565,7 @@
*) ScriptDirectory="$CurrentDirectory"/"$ScriptDirectory" ;;
esac
-if [ "`type uname`" != "uname not found" ] ; then
+if [ "`uname`" != "uname not found" ] ; then
OSname=`uname -s`
if [ "$OSname" = "AIX" ] ; then
OSrelease=`uname -a | ( read name host minor major foo ; echo $major.$minor )`