summaryrefslogtreecommitdiff
path: root/print/acroread/files/patch-aa
blob: a161fb7a089307e7b4f5043f162bf2f40e216456 (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
--- INSTALL.orig	Fri Sep 11 13:31:26 1998
+++ INSTALL	Thu Mar  9 09:34:06 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
@@ -151,7 +153,7 @@
 
 ExtractFiles ()
 {
-  ( cd "$1" ; tar xf "$2" )
+  ( cd "$1" ; tar --unlink -xf "$2" )
 }
 
 InstallFiles ()
@@ -484,7 +486,7 @@
   SearchPlatformTar="$3"
   CustomPlatformTar="$4"
 
-  OutputLicense "$ReadLicense"
+#  OutputLicense "$ReadLicense"
   ReadLicense=""
 
   PrintRequiredFree "$ReadTar" "$SearchTar" "$CustomTar" \
@@ -557,7 +559,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 )`