[Pkg-bugzilla-commits] r75 - trunk/bugzilla-2.18/debian
Alexis Sukrieh
sukria-guest@costa.debian.org
Sat, 23 Apr 2005 15:21:10 +0000
Author: sukria-guest
Date: 2005-04-23 15:21:10 +0000 (Sat, 23 Apr 2005)
New Revision: 75
Modified:
trunk/bugzilla-2.18/debian/bugzilla.postinst
trunk/bugzilla-2.18/debian/bugzilla.postrm
Log:
updating the postrm
Modified: trunk/bugzilla-2.18/debian/bugzilla.postinst
===================================================================
--- trunk/bugzilla-2.18/debian/bugzilla.postinst 2005-04-23 15:00:47 UTC (rev 74)
+++ trunk/bugzilla-2.18/debian/bugzilla.postinst 2005-04-23 15:21:10 UTC (rev 75)
@@ -93,11 +93,12 @@
# We want checksetup.pl to write the new params file in params.new
# Then Config.pm has to be patched
- patch -p1 -d /usr/share/perl5 < /usr/share/bugzilla/debian/101_Config.diff
+ patch -p2 -d /usr/share/perl5 < /usr/share/bugzilla/debian/101_Config.diff >/dev/null
# Call checksetup now that everything is ready
# The params file will then be updated if needed, the resulting file
# will be saved in $params_218_new
+ debug "Running checksetup.pl..."
/usr/share/bugzilla/lib/checksetup.pl $answerfile > /tmp/bugzilla.checksetup.log || true
if [ ! -f $params_218_new ]; then
echo "Error in postinst: unable to find $params_218_new"
@@ -105,7 +106,7 @@
fi
# We restore the good Config.pm file
- patch -R -p1 -d /usr/share/perl5 < /usr/share/bugzilla/debian/101_Config.diff
+ patch -R -p1 -d /usr/share/perl5 < /usr/share/bugzilla/debian/101_Config.diff >/dev/null
# the answerfile should be removed now
rm -f $answerfile
Modified: trunk/bugzilla-2.18/debian/bugzilla.postrm
===================================================================
--- trunk/bugzilla-2.18/debian/bugzilla.postrm 2005-04-23 15:00:47 UTC (rev 74)
+++ trunk/bugzilla-2.18/debian/bugzilla.postrm 2005-04-23 15:21:10 UTC (rev 75)
@@ -18,7 +18,7 @@
case "$1" in
purge)
- ucf --purge /usr/share/bugzilla/web/data/params
+ ucf --purge /etc/bugzilla/params
rm -rf /usr/share/bugzilla
rm -rf /var/cache/bugzilla/template
;;