Package: bugzilla
Version: 2.18.3-1
Severity: normal

To upgrade my database schema after a package upgrade, I need to run a
command like the following.  It would be nice to give such an information
in the README.

for i in $(cd /etc/bugzilla/sites/ && ls); do echo $i:; X_BUGZILLA_SITE=$i
su www-data -c /usr/share/bugzilla/lib/checksetup.pl; done


But it has a disavantage: it does not offer the same level of protection
on the user configuration as the standard upgrade gives (patching
checksetup to use an intermediate params.new).

A simple possibility would be to have a permanent patch on checksetup.pl,
activating the new name through the means of an environment variable or a
commandline flag.  Tha would simplify the postinst, and make it easier to
use the feature for multisite installations.

However, the real fix would be to integrate that loop in the postinst
itself :)




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to