}
+# 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 <<EOF
+Package: ocsinventory-agent
+Pin: version 2:2.0.5*
+Pin-Priority: 1001
+EOF
+
+
+}
+
# upgrade the IMAP server
upgrade_dovecot() {
# Funkcija koju je dodao Valentin da popravi propuste u dovecot-cn
fi
pkgadd rsyslog
- dpkg -P sysklogd klogd
+ dpkg -P sysklogd klogd > /dev/null 2>&1
}
# restore munin configs for silent upgrade