Fix for Acrobat5 on DragonFly 1.3-DEV
Heya all,
This is me first contribution to dfly in terms of patches,
so be nice :p
After installing Acrobat5 Reader on 1.3-DEV, I had noticed that when I
attempted to run acroread, it informed me that the os (DragonFly)
version 1.3-DEVELOPMENT was not installed. But the problem is, its what
I'm using as my main work box as we speak (no issues either)
Being that I need Acroread for reading a few pdf's I have here, finding
a way to fix it was what I was suggested by a few of the devs in
#dragonflybsd (ty, you know who you are)
And here is the end result:
--- /usr/local/Acrobat5/bin/acroread 2005-04-15 07:22:31.000000000 +0930
+++ /usr/local/bin/acroread 2005-04-15 07:24:57.000000000 +0930
@@ -135,7 +135,7 @@
# setup the configuration from uname
#
os_name=`uname -s`
-if [ "$os_name" = "AIX" ] ; then
+if [ "$os_name" = "DragonFly" ] ; then
os_release=`uname -a | ( read name host minor major foo ; echo
$major.$minor )`
else
os_release=`uname -r`
@@ -187,7 +187,7 @@
;;
esac
;;
- FreeBSD|Linux)
+ FreeBSD|DragonFly|Linux)
ACRO_CONFIG=intellinux
export ACRO_CONFIG
;;
@@ -207,7 +207,7 @@
echo " RS6000/AIX version 4.1.1, 4.2, 4.3, and 5.1"
fi
if [ -d "$ACRO_INSTALL_DIR"/intellinux ] ; then
- echo " Intel/Linux"
+ echo " DragonFlyBSD version 1.3-DEVELOPMENT"
fi
exit 1
fi
I hope that helps......comments are always good :)
Cheers
Nutterpc