From 63fca2c1accca1865ae6c5efc2ace108ccd44124 Mon Sep 17 00:00:00 2001 From: Renat Lumpau Date: Sun, 4 Dec 2005 22:43:35 +0000 Subject: Fixes for w-c-1.50 (Portage version: 2.0.51.22-r2) --- www-apps/rt/files/3.2.1/reconfig | 15 ++++++++------- www-apps/rt/files/3.4.2/reconfig | 2 +- www-apps/rt/files/3.4.4/reconfig | 2 +- 3 files changed, 10 insertions(+), 9 deletions(-) (limited to 'www-apps/rt/files') diff --git a/www-apps/rt/files/3.2.1/reconfig b/www-apps/rt/files/3.2.1/reconfig index 7f831600df69..447c5b490234 100644 --- a/www-apps/rt/files/3.2.1/reconfig +++ b/www-apps/rt/files/3.2.1/reconfig @@ -1,12 +1,12 @@ #!/bin/bash if [ $1 = "start" -o $1 = "install" ]; then - # fix location - sed -i "s|${MY_HOSTROOTDIR}|${VHOST_ROOT}|g" /usr/bin/standalone_httpd /usr/bin/rt-crontool /usr/bin/webmux.pl /usr/lib/RT.pm - sed -i "s|${MY_HOSTROOTDIR}|\/usr|" /usr/bin/mason_handler.scgi - sed -i "s|${MY_HTDOCSDIR}|${MY_INSTALLDIR}|" /usr/lib/RT.pm /usr/bin/rt-mailgate + # don't fix location - breaks sandbox + #sed -i "s|${MY_HOSTROOTDIR}|${VHOST_ROOT}|g" /usr/bin/standalone_httpd /usr/bin/rt-crontool /usr/bin/webmux.pl /usr/lib/RT.pm + # sed -i "s|${MY_HOSTROOTDIR}|\/usr|" /usr/bin/mason_handler.scgi + # sed -i "s|${MY_HTDOCSDIR}|${MY_INSTALLDIR}|" /usr/lib/RT.pm /usr/bin/rt-mailgate # fix permissions - chown -R ${VHOST_SERVER_GID}:${VHOST_SERVER_UID} /var/rt + # chown -R ${VHOST_SERVER_GID}:${VHOST_SERVER_UID} /var/rt # check for upgrades cd ${VHOST_ROOT}/rt-config/upgrade @@ -20,6 +20,7 @@ if [ $1 = "start" -o $1 = "install" ]; then ls elif [ $1 = "clean" ]; then - rm -f /usr/bin/standalone_httpd /usr/bin/rt-crontool /usr/bin/webmux.pl /usr/lib/RT.pm /usr/bin/mason_handler.scgi /usr/bin/rt-mailgate - rm -rf /var/rt + echo $1 + # rm -f /usr/bin/standalone_httpd /usr/bin/rt-crontool /usr/bin/webmux.pl /usr/lib/RT.pm /usr/bin/mason_handler.scgi /usr/bin/rt-mailgate + # rm -rf /var/rt fi diff --git a/www-apps/rt/files/3.4.2/reconfig b/www-apps/rt/files/3.4.2/reconfig index f254a3c2212f..4f69cd0998d4 100644 --- a/www-apps/rt/files/3.4.2/reconfig +++ b/www-apps/rt/files/3.4.2/reconfig @@ -32,7 +32,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 diff --git a/www-apps/rt/files/3.4.4/reconfig b/www-apps/rt/files/3.4.4/reconfig index 61e08d74f941..6830548da6e8 100644 --- a/www-apps/rt/files/3.4.4/reconfig +++ b/www-apps/rt/files/3.4.4/reconfig @@ -31,7 +31,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 -- cgit v1.2.3-65-gdbad