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
/
postinst
diff --git
a/debian/postinst
b/debian/postinst
index
24ab874
..
3a21ffd
100644
(file)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-8,7
+8,7
@@
set -e
# Load Debconf
. /usr/share/debconf/confmodule
# Load Debconf
. /usr/share/debconf/confmodule
-# Load CARNet Tools
+# Load CARNET Tools
. /usr/share/carnet-tools/functions.sh
PKG="mod-security-cn"
. /usr/share/carnet-tools/functions.sh
PKG="mod-security-cn"
@@
-56,7
+56,7
@@
cleanup () {
# 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
@@
-67,7
+67,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