summaryrefslogtreecommitdiff
path: root/installplatform
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-10-17 08:11:10 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-10-17 08:11:10 +0300
commit927f384a9bc058eb6f954e93cc515cc1293fd2a3 (patch)
treee9b417a1aef960f73f12b378c35d0466dd8be7ff /installplatform
parentdf8b431be808b73b92cab5fd62637be6dcd72991 (diff)
downloadrpm-927f384a9bc058eb6f954e93cc515cc1293fd2a3.tar.gz
rpm-927f384a9bc058eb6f954e93cc515cc1293fd2a3.tar.bz2
rpm-927f384a9bc058eb6f954e93cc515cc1293fd2a3.zip
Kick out the dumb defaultdocdir logic from installplatform
- defaultdocdir is simply %{_datadir}/doc
Diffstat (limited to 'installplatform')
-rwxr-xr-xinstallplatform7
1 files changed, 0 insertions, 7 deletions
diff --git a/installplatform b/installplatform
index 8861df0ec..266d877b8 100755
--- a/installplatform
+++ b/installplatform
@@ -8,12 +8,6 @@ RPMRC="${1:-rpmrc}"
MACROS="${2:-macros}"
PLATFORM="${3:-platform}"
-if grep /share/ $PLATFORM > /dev/null 2>&1 ; then
- DEFAULTDOCDIR='%{_usr}/share/doc'
-else
- DEFAULTDOCDIR='%{_usr}/doc'
-fi
-
TEMPRC="/tmp/rpmrc.$$"
cat << E_O_F > $TEMPRC
include: $RPMRC
@@ -155,7 +149,6 @@ for SUBST in $SUBSTS ; do
-e "s,@RPMRC_GNU@,$RPMRC_GNU," \
-e "s,@LIB@,$LIB," \
-e "s,@ARCH_INSTALL_POST@,$ARCH_INSTALL_POST," \
- -e "s,@DEFAULTDOCDIR@,$DEFAULTDOCDIR," \
-e '/\${\w*:-/!s,\${,%{_,' \
-e "s,@ISANAME@,$ISANAME," \
-e "s,@ISABITS@,$ISABITS," \