diff options
author | Craig Inches <craig.inches@xayto.net> | 2016-01-02 13:24:27 +0800 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2016-01-02 13:51:51 +0800 |
commit | 802fb794ae417ee26d1f3488df1ba31ac31b0af0 (patch) | |
tree | 423a8115c3e0b6969bdc5478a8b1360601829e36 /www-apps/bugzilla/files/reconfig | |
parent | net-misc/suite3270: version bump to 3.4_p10 (diff) | |
download | gentoo-802fb794ae417ee26d1f3488df1ba31ac31b0af0.tar.gz gentoo-802fb794ae417ee26d1f3488df1ba31ac31b0af0.tar.bz2 gentoo-802fb794ae417ee26d1f3488df1ba31ac31b0af0.zip |
www-apps/bugzilla:
Version bumps 5.0.2, and 4.4.11
Clean up files dir and ebuilds to reflect
Update copyright
Package-Manager: portage-2.2.24
Diffstat (limited to 'www-apps/bugzilla/files/reconfig')
-rw-r--r-- | www-apps/bugzilla/files/reconfig | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/www-apps/bugzilla/files/reconfig b/www-apps/bugzilla/files/reconfig new file mode 100644 index 000000000000..71b0acea2585 --- /dev/null +++ b/www-apps/bugzilla/files/reconfig @@ -0,0 +1,19 @@ +#!/bin/bash + +FILE="bugzilla.cron.daily bugzilla.cron.tab" + +function die () +{ + echo + echo "***" + echo "*** Fatal error: $*" + echo "***" + exit 1 +} + +if [ $1 = "install" ]; then + cd "${MY_INSTALLDIR}" || die "Cannot find install dir ${MY_INSTALLDIR}" + sed -e "s|/var/www/bugzilla|${MY_INSTALLDIR}|g" -i ${FILE} || die "sed failed" +else + echo "done." +fi |