summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenat Lumpau <rl03@gentoo.org>2005-12-04 22:19:21 +0000
committerRenat Lumpau <rl03@gentoo.org>2005-12-04 22:19:21 +0000
commit320e57d4788f11f2c682ed7bb359afd38305765f (patch)
tree8da459ce013211f28d8f09472549263914231ae8 /www-apps/otrs/files
parentBump for 7.0RC3. (diff)
downloadgentoo-2-320e57d4788f11f2c682ed7bb359afd38305765f.tar.gz
gentoo-2-320e57d4788f11f2c682ed7bb359afd38305765f.tar.bz2
gentoo-2-320e57d4788f11f2c682ed7bb359afd38305765f.zip
Housekeeping
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'www-apps/otrs/files')
-rw-r--r--www-apps/otrs/files/reconfig9
1 files changed, 3 insertions, 6 deletions
diff --git a/www-apps/otrs/files/reconfig b/www-apps/otrs/files/reconfig
index 63a8e079c6f8..ef9beb7adb86 100644
--- a/www-apps/otrs/files/reconfig
+++ b/www-apps/otrs/files/reconfig
@@ -9,17 +9,14 @@ die() {
}
if [ $1 = "install" ]; then
- echo "here here"
# edit Apache configs
cd ${VHOST_ROOT}/${PF}/scripts
sed -e "s|/opt/otrs/var/httpd/htdocs/|${MY_INSTALLDIR}/|g" -i apache-httpd.include.conf apache2-httpd.include.conf || die "sed 1 failed"
- echo "here here"
-
+
# set $HOME
grep -lR "/opt" * | xargs sed -i "s|/opt/otrs|${VHOST_ROOT}/${PF}|g" || die "sed failed"
-
+
sed -i "s|/opt/otrs|${VHOST_ROOT}/${PF}|g" ${VHOST_ROOT}/${PF}/Kernel/Config.pm || die "sed failed"
- echo "here here"
# set permissions
${VHOST_ROOT}/${PF}/bin/SetPermissions.sh ${VHOST_ROOT}/${PF} otrs apache apache apache > /dev/null || die "Could not set permissions"
@@ -28,7 +25,7 @@ if [ $1 = "install" ]; then
elif [ $1 = "clean" ]; then
echo "Please examine the contents of the following directories"
echo "and delete anything that is no longer necessary"
- echo
+ echo
echo ${VHOST_ROOT}/${PF}
echo ${MY_INSTALLDIR}
fi