From 44f1007ba069e5c5c4c05c577e7dcad720234eb9 Mon Sep 17 00:00:00 2001 From: Zeljko Boros Date: Mon, 26 Apr 2021 15:55:29 +0200 Subject: [PATCH] modifikacije functions.sh za ocsinventory i (sys)klogd --- src/functions.sh | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/src/functions.sh b/src/functions.sh index 3825a4c..6f848af 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -968,6 +968,24 @@ EOF } +# pinning za ocsinventory da se na nadogradi sa 2.0.4 na 2.4.2 + +fix_bacula() { + + echo "CN: Dodajem pinning ocsinventory-agenta na inačicu 2:2.0.4..." + PINFILE=/etc/apt/preferences.d/99-carnet + + test -f $PINFILE || touch $PINFILE + + cp-update ocsinventory-agent-cn $PINFILE < /dev/null 2>&1 } # restore munin configs for silent upgrade -- 1.7.10.4