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
7b80a4d
..
ef570e4
100755
(executable)
--- a/
debian/prerm
+++ b/
debian/prerm
@@
-2,20
+2,27
@@
set -e
set -e
-case "$1" in
- remove|deconfigure)
- ;;
+PKG="webalizer-cn"
- upgrade)
- ;;
+if [ -e /usr/share/apache2/apache2-maintscript-helper ]; then
+ . /usr/share/apache2/apache2-maintscript-helper
- failed-upgrade)
- ;;
+ webalizer_enable() {
+ echo "CN: Disabling $PKG configuration for Apache2."
+ return 0
+ }
+else
+ echo "CN: Could not load Apache 2.4 maintainer script helper."
- *)
- echo "prerm called with unknown argument \$1'" >&2
- exit 0
- ;;
-esac
+ webalizer_enable() {
+ return 1
+ }
+fi
+
+webalizer_error() {
+ echo "CN: Error while trying to disable $PKG configuration for Apache2."
+}
+
+#DEBHELPER#
exit 0
exit 0