|
|||||||||||
|
Bug#435398: apache2.2-common: a2dissite should distinguish already disabled and missing sites
From: Peter Eisentraut <peter_e(at)gmx.net>
Date: Tue Jul 31 2007 - 09:36:45 EDT
a2dissite does not distinguish sites that are already disabled from those that are missing. It exits with code 1 in either case, which is unfortunate for use in postrm scripts and similar situations. It's also inconsistent with the other a2* scripts. Attached is a patch that improves the behavior.
Kernel: Linux 2.6.21-2-k7 (SMP w/2 CPU cores) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages apache2.2-common depends on: ii apache2-utils 2.2.3-5 utility programs for webservers ii libmagic1 4.21-2 File type determination library us ii lsb-base 3.1-23.1 Linux Standard Base 3.1 init scrip ii mime-support 3.39-1 MIME files 'mime.types' & 'mailcap ii net-tools 1.60-17 The NET-3 networking toolkit ii procps 1:3.2.7-3 /proc file system utilities apache2.2-common recommends no packages.
--
This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 19:06:08 EDT |
||||||||||
|
|||||||||||