From: Zeljko Boros Date: Mon, 19 Apr 2021 12:59:55 +0000 (+0200) Subject: Dodan pinning na inacicu 7.4.4* X-Git-Tag: debian/20210226+cn9u4^0 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=ace4694b7e8d8c52b8424e9b254ff975fa8611a2;p=bacula-cn.git Dodan pinning na inacicu 7.4.4* --- diff --git a/debian/changelog b/debian/changelog index ca8a46f..59f08ae 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +bacula-cn (20210226+cn9u4) unstable; urgency=medium + + * Pinning na inačicu 7.4.4* + + -- Zeljko Boros Mon, 19 Apr 2021 14:58:58 +0200 + bacula-cn (20210226+cn9u3) unstable; urgency=medium * Dodano popravljanje permisija nad certifikatom i nekim diff --git a/debian/postinst b/debian/postinst index 693c254..61712f7 100644 --- a/debian/postinst +++ b/debian/postinst @@ -272,6 +272,29 @@ fix_privileges() { chmod 640 /etc/bacula/bacula-fd.pem /etc/bacula/bacula-fd.conf /etc/bacula/bconsole.conf } +set_pinning() { + # set pin to version from stretch, because bacula 9.* isn't compatible + + PINFILE=/etc/apt/preferences.d/99-carnet + + test -f $PINFILE || touch $PINFILE + + cp-update bacula-cn $PINFILE <