blob: 9a8a46215ad9166fadc8f4763f8203f2f0f09864 (
plain)
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
42
43
44
45
46
47
48
49
50
51
52
|
$NetBSD: patch-aa,v 1.1.1.1 2005/04/15 14:23:31 markd Exp $
--- INSTALL.orig 2005-03-12 14:50:00.000000000 +1300
+++ INSTALL
@@ -82,7 +82,7 @@ OutputLicense ()
fi
TypeCheck $PAGER
- if [ $? -ne 0 ] || [ -z "$PAGER" ] ; then
+ if [ $? -eq 0 ] || [ -z "$PAGER" ] ; then
command=cat
TypeCheck pg
if [ $? -eq 0 ] ; then
@@ -143,6 +143,8 @@ PrintRequiredFree()
if [ `uname -s` = "Linux" ] ; then
size=`ls -lLn "$i" | ( read perm links owner group size date ; echo $size )`
+ elif [ `uname -s|sed -e 's|.*\(...\)|\\1|'` = "BSD" ] ; 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
@@ -223,6 +225,8 @@ GetInstallDirectory ()
AIX)
defdir="/usr/lpp/Adobe/Acrobat7.0"
;;
+ NetBSD)
+ ;;
esac
while [ -z "$InstallDir" ] ; do
@@ -560,6 +564,20 @@ case "$OSname" in
ReadDefaultNum="$ReadIntelLinuxNum"
DefaultName="Intel/Linux"
;;
+ NetBSD)
+ MachArch=`uname -p`
+ case "$MachArch" in
+ i386)
+ ReadDefaultNum="$ReadIntelLinuxNum"
+ DefaultName="Intel/Linux"
+ ;;
+ sparc*)
+ ReadDefaultNum="$ReadSparcSolarisNum"
+ DefaultName="SPARC/Solaris 2.x"
+ ;;
+ esac
+ ;;
+
esac
if [ -z "$ReadDefaultNum" ] ; then
|