langpackscript.sh (9f22d7c2) | langpackscript.sh (ff3f4ebc) |
---|---|
1#!/bin/sh 2# ************************************************************* 3# 4# Licensed to the Apache Software Foundation (ASF) under one 5# or more contributor license agreements. See the NOTICE file 6# distributed with this work for additional information 7# regarding copyright ownership. The ASF licenses this file 8# to you under the Apache License, Version 2.0 (the --- 66 unchanged lines hidden (view full) --- 75 PRODUCTINSTALLLOCATION="`pkginfo -r $PACKAGENAME`" 76 else 77 echo "FULLPRODUCTNAMELONGPLACEHOLDER not installed (no package $SEARCHPACKAGENAME installed)" 78 exit 1 79 fi 80 ;; 81Linux) 82 SEARCHPACKAGENAME="BASISPACKAGEPREFIXPLACEHOLDEROOOBASEVERSIONPLACEHOLDER-core01" | 1#!/bin/sh 2# ************************************************************* 3# 4# Licensed to the Apache Software Foundation (ASF) under one 5# or more contributor license agreements. See the NOTICE file 6# distributed with this work for additional information 7# regarding copyright ownership. The ASF licenses this file 8# to you under the Apache License, Version 2.0 (the --- 66 unchanged lines hidden (view full) --- 75 PRODUCTINSTALLLOCATION="`pkginfo -r $PACKAGENAME`" 76 else 77 echo "FULLPRODUCTNAMELONGPLACEHOLDER not installed (no package $SEARCHPACKAGENAME installed)" 78 exit 1 79 fi 80 ;; 81Linux) 82 SEARCHPACKAGENAME="BASISPACKAGEPREFIXPLACEHOLDEROOOBASEVERSIONPLACEHOLDER-core01" |
83 FIXPATH="/openoffice.org" | 83 FIXPATH="/apachopenoffice" |
84 echo 85 echo "Searching for the FULLPRODUCTNAMELONGPLACEHOLDER installation ..." 86 RPMNAME=`rpm -qa | grep $SEARCHPACKAGENAME` 87 if [ "x$RPMNAME" != "x" ] 88 then 89 PRODUCTINSTALLLOCATION="`rpm -ql $RPMNAME | head -n 1`" 90 else 91 echo "FULLPRODUCTNAMELONGPLACEHOLDER not installed (no package $SEARCHPACKAGENAME installed)" --- 82 unchanged lines hidden --- | 84 echo 85 echo "Searching for the FULLPRODUCTNAMELONGPLACEHOLDER installation ..." 86 RPMNAME=`rpm -qa | grep $SEARCHPACKAGENAME` 87 if [ "x$RPMNAME" != "x" ] 88 then 89 PRODUCTINSTALLLOCATION="`rpm -ql $RPMNAME | head -n 1`" 90 else 91 echo "FULLPRODUCTNAMELONGPLACEHOLDER not installed (no package $SEARCHPACKAGENAME installed)" --- 82 unchanged lines hidden --- |