blob: e88055b38e48c9fde8b43883afe59e8861a6e5cc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
--- 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 )`
|