X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=carnet-upgrade.git;a=blobdiff_plain;f=src%2Ffunctions.sh;fp=src%2Ffunctions.sh;h=9100f66ffd7be9e4fffc9be4d61226a3b523612b;hp=373422c6da006c9cbb254ff38ab5b6d5ae18ea76;hb=e964d270202710e62bc22ada8cb664aba7082fac;hpb=f229375aad5536e4d07d2632fa31b7ef4f370726 diff --git a/src/functions.sh b/src/functions.sh index 373422c..9100f66 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -1,5 +1,6 @@ # Ivan 'ico' Rako # Zoran 'jelly' Dzelajlija +# Zeljko Boros notice () { LC_MESSAGES=hr_HR dialog --backtitle "$title" --msgbox "$*" 18 75 @@ -935,10 +936,38 @@ upgrade_postfix () { fi } + +# pinning za baculu da se ne nadogradi sa 7.4.4 na 9.* u busteru +# istu stvar radi i bacula-cn.postinst + +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 + + cp-update bacula-cn $PINFILE <