projects
/
mod-security-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prva verzija za buster.
[mod-security-cn.git]
/
debian
/
postrm
diff --git
a/debian/postrm
b/debian/postrm
index
83e5d86
..
960d309
100644
(file)
--- a/
debian/postrm
+++ b/
debian/postrm
@@
-11,7
+11,7
@@
MODSECLNK=/etc/apache2/conf-available/security2-cn.conf
# chk_conf_tag ()
#
# chk_conf_tag ()
#
-# Check if configuration file has CARNet package info lines.
+# Check if configuration file has CARNET package info lines.
# return: $RET => 0 - tagged
# 1 - file does not exists
# 2 - file exists, but it is not tagged
# return: $RET => 0 - tagged
# 1 - file does not exists
# 2 - file exists, but it is not tagged
@@
-22,7
+22,7
@@
chk_conf_tag () {
RET=1
if [ -f "$conf_file" ]; then
RET=1
if [ -f "$conf_file" ]; then
- if egrep -q "^## Begin - Generated by CARNet package mod-security-cn$" "$conf_file"; then
+ if egrep -q "^## Begin - Generated by CARNET package mod-security-cn$" "$conf_file"; then
RET=0
else
RET=2
RET=0
else
RET=2