projects
/
webalizer-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ovisnost o ispravnoj verziji paketa apache2-cn.
[webalizer-cn.git]
/
debian
/
prerm
diff --git
a/debian/prerm
b/debian/prerm
index
81704a8
..
ef570e4
100755
(executable)
--- a/
debian/prerm
+++ b/
debian/prerm
@@
-5,29
+5,24
@@
set -e
PKG="webalizer-cn"
if [ -e /usr/share/apache2/apache2-maintscript-helper ]; then
PKG="webalizer-cn"
if [ -e /usr/share/apache2/apache2-maintscript-helper ]; then
- . /usr/share/apache2/apache2-maintscript-helper
+ . /usr/share/apache2/apache2-maintscript-helper
- webalizer_enable() {
- echo "CN: Disabling $PKG configuration for Apache2."
- return 0
- }
+ webalizer_enable() {
+ echo "CN: Disabling $PKG configuration for Apache2."
+ return 0
+ }
else
else
- echo "CN: Could not load Apache 2.4 maintainer script helper."
+ echo "CN: Could not load Apache 2.4 maintainer script helper."
- webalizer_enable() {
- return 1
- }
+ webalizer_enable() {
+ return 1
+ }
fi
webalizer_error() {
fi
webalizer_error() {
- echo "CN: Error while trying to disable $PKG configuration for Apache2."
+ echo "CN: Error while trying to disable $PKG configuration for Apache2."
}
#DEBHELPER#
}
#DEBHELPER#
-if ! apache2ctl configtest >/dev/null 2>&1; then
- echo "CN: Your Apache2 configuration seems to be broken."
- echo "CN: Please, check the service and system logs!"
-fi
-
exit 0
exit 0