X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Ffunctions.sh;h=427e1a4eea1573e93c8b9923cc675a00255a743a;hb=refs%2Fheads%2Fbuster;hp=6f848aff7a6337078df2358340c32fabe9b56726;hpb=44f1007ba069e5c5c4c05c577e7dcad720234eb9;p=carnet-upgrade.git diff --git a/src/functions.sh b/src/functions.sh index 6f848af..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 <