X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Ffunctions.sh;h=427e1a4eea1573e93c8b9923cc675a00255a743a;hb=410f0690ae0b4341dded36a74f2a222611d28b6d;hp=3825a4c2c96cc95bc451364311c614f85630f678;hpb=5fe31b9531df1ee2f0b14881b126b33929eb5601;p=carnet-upgrade.git diff --git a/src/functions.sh b/src/functions.sh index 3825a4c..427e1a4 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -4,6 +4,8 @@ PHPVER="7.3" MDB="10.3" +PINFILE="/etc/apt/preferences.d/99-carnet" + notice () { LC_MESSAGES=hr_HR dialog --backtitle "$title" --msgbox "$*" 18 75 @@ -947,11 +949,11 @@ upgrade_postfix () { 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 < /dev/null 2>&1 } # restore munin configs for silent upgrade