Index: trunk/debs/wikimedia-task-appserver/debian/postrm |
— | — | @@ -28,14 +28,18 @@ |
29 | 29 | } |
30 | 30 | |
31 | 31 | case "$1" in |
32 | | - purge) |
| 32 | + purge) |
33 | 33 | ;; |
34 | | - remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) |
| 34 | + remove) |
35 | 35 | dpkg-divert --package wikimedia-task-appserver --remove --rename \ |
36 | 36 | --divert /etc/apache2/apache2.conf.default /etc/apache2/apache2.conf |
37 | 37 | dpkg-divert --package wikimedia-task-appserver --remove --rename \ |
38 | 38 | --divert /etc/php5/apache2/php.ini.default /etc/php5/apache2/php.ini |
| 39 | + removemount /mnt/upload3 |
| 40 | + removemount /mnt/math |
| 41 | + ;; |
39 | 42 | |
| 43 | + upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) |
40 | 44 | removemount /mnt/upload3 |
41 | 45 | removemount /mnt/math |
42 | 46 | ;; |
Index: trunk/debs/wikimedia-task-appserver/debian/preinst |
— | — | @@ -16,7 +16,7 @@ |
17 | 17 | |
18 | 18 | |
19 | 19 | case "$1" in |
20 | | - install|upgrade) |
| 20 | + install) |
21 | 21 | dpkg-divert --package wikimedia-task-appserver --add --rename \ |
22 | 22 | --divert /etc/apache2/apache2.conf.default /etc/apache2/apache2.conf |
23 | 23 | dpkg-divert --package wikimedia-task-appserver --add --rename \ |
Index: trunk/debs/wikimedia-task-appserver/debian/changelog |
— | — | @@ -1,3 +1,9 @@ |
| 2 | +wikimedia-task-appserver (1.13) feisty; urgency=low |
| 3 | + |
| 4 | + * Handle diversions only on install and remove |
| 5 | + |
| 6 | + -- Tim Starling <tstarling@wikimedia.org> Tue, 28 Aug 2007 19:38:06 +0000 |
| 7 | + |
2 | 8 | wikimedia-task-appserver (1.12) feisty; urgency=low |
3 | 9 | |
4 | 10 | * Fixed permissions on /etc/sudoers |