r25258 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25257‎ | r25258 | r25259 >
Date:23:14, 28 August 2007
Author:tstarling
Status:old
Tags:
Comment:
Remove conf file diversions on purge, not on remove
Modified paths:
  • /trunk/debs/wikimedia-task-appserver/debian/postrm (modified) (history)

Diff [purge]

Index: trunk/debs/wikimedia-task-appserver/debian/postrm
@@ -29,12 +29,10 @@
3030
3131 case "$1" in
3232 purge)
 33+ dpkg-divert --package wikimedia-task-appserver --rename --remove /etc/apache2/apache2.conf
 34+ dpkg-divert --package wikimedia-task-appserver --rename --remove /etc/php5/apache2/php.ini
3335 ;;
3436 remove)
35 - dpkg-divert --package wikimedia-task-appserver --remove --rename \
36 - --divert /etc/apache2/apache2.conf.default /etc/apache2/apache2.conf
37 - dpkg-divert --package wikimedia-task-appserver --remove --rename \
38 - --divert /etc/php5/apache2/php.ini.default /etc/php5/apache2/php.ini
3937 removemount /mnt/upload3
4038 removemount /mnt/math
4139 ;;

Status & tagging log