openbsd-ports/print/acroread/patches/patch-INSTALL
sturm 4bc89e6716 Security Update to Acroread 7.0.8
this needs fedora_base
2006-10-19 00:20:55 +00:00

47 lines
1.7 KiB
Plaintext

$OpenBSD: patch-INSTALL,v 1.4 2006/10/19 00:20:55 sturm Exp $
--- INSTALL.orig Tue May 23 03:33:34 2006
+++ INSTALL Sun Oct 8 20:50:06 2006
@@ -287,6 +287,8 @@ PrintRequiredFree()
if [ `uname -s` = "Linux" ] ; then
size=`ls -lLn "$i" | ( read perm links owner group size date ; echo $size )`
+ elif [ `uname -s` = "OpenBSD" ] ; 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
@@ -589,7 +591,7 @@ InstallBrowserPlugin()
while :
do
$echonl "$ST_IBP_INFO_20 [$ST_SMALL_Y/$ST_SMALL_N] "
- read OVERWRITE_CHOICE
+ OVERWRITE_CHOICE="n"
if [ "$OVERWRITE_CHOICE" = "$ST_SMALL_Y" ] || [ "$OVERWRITE_CHOICE" = "$ST_CAPS_Y" ] || [ -z "$OVERWRITE_CHOICE" ]
then
@@ -806,15 +808,6 @@ InstallReader()
echo "$ST_IBP_INFO_22_1" \"$ReadInstallDir/Browser/install_browser_plugin\" "$ST_IBP_INFO_22_2"
fi
- rm -f /usr/bin/acroread 2>/dev/null
- ln -s "$ReadInstallDir"/bin/acroread /usr/bin/acroread 2>/dev/null
-
- rm -f /usr/share/applications/AdobeReader.desktop 2>/dev/null
- ln -s "$ReadInstallDir"/Resource/Support/AdobeReader_GNOME.desktop /usr/share/applications/AdobeReader.desktop 2>/dev/null
-
- rm -f /usr/share/pixmaps/AdobeReader.desktop 2>/dev/null
- ln -s "$ReadInstallDir"/Resource/Icons/AdobeReader.png /usr/share/pixmaps/AdobeReader.png 2>/dev/null
-
if [ "`uname -s`" = "Linux" ]; then
check_file_in_path kde-config >/dev/null
@@ -1069,7 +1062,7 @@ case "$OSname" in
;;
esac
;;
- Linux)
+ OpenBSD|Linux)
ReadDefaultNum="$ReadIntelLinuxNum"
DefaultName="Intel/Linux"
;;