true debconf_preload
pkg munin-cn upgrade_munin
# konacno, instalacija novih paketa
+# by zelja, pinning na stare inačice
+pkg ocsinventory-agent-cn fix_ocsinventory
+pkg bacula-cn fix_bacula
+#
pkg amavisd-new upgrade_amavis
true upgrade_mysql
pkg apache2-cn upgrade_apache2
pkg postfix-cn upgrade_postfix
pkg dovecot-cn upgrade_dovecot
-pkg bacula-cn fix_bacula
pkg bind9-cn upgrade_bind
pkg fail2ban-cn upgrade_fail2ban
pkg mailman-cn upgrade_mailman
PHPVER="7.3"
MDB="10.3"
+PINFILE="/etc/apt/preferences.d/99-carnet"
+
notice () {
LC_MESSAGES=hr_HR dialog --backtitle "$title" --msgbox "$*" 18 75
fix_bacula() {
echo "CN: Dodajem pinning bacule na inačicu 7.4.4..."
- PINFILE=/etc/apt/preferences.d/99-carnet
test -f $PINFILE || touch $PINFILE
Pin-Priority: 1001
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
+fix_ocsinventory() {
+ echo "CN: Dodajem pinning ocsinventory-agenta na inačicu 2.0.4..."
test -f $PINFILE || touch $PINFILE
cp-update ocsinventory-agent-cn $PINFILE <<EOF
Pin-Priority: 1001
EOF
-
}
# upgrade the IMAP server