From ace4694b7e8d8c52b8424e9b254ff975fa8611a2 Mon Sep 17 00:00:00 2001 From: Zeljko Boros Date: Mon, 19 Apr 2021 14:59:55 +0200 Subject: [PATCH] Dodan pinning na inacicu 7.4.4* --- debian/changelog | 6 ++++++ debian/postinst | 24 ++++++++++++++++++++++++ 2 files changed, 30 insertions(+) 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 <