From 72d72bf8d29fff2f08fbeecd7e8a0c1138a573ea Mon Sep 17 00:00:00 2001 From: thorstenspille Date: Thu, 25 Apr 2024 16:44:28 +0200 Subject: [PATCH] Add PILER_BRANCH variable --- conf/zamba.conf.example | 3 +-- src/piler/install-service.sh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/conf/zamba.conf.example b/conf/zamba.conf.example index 10f0715..5274fa8 100644 --- a/conf/zamba.conf.example +++ b/conf/zamba.conf.example @@ -114,8 +114,7 @@ ZMB_SHARE="share" ############### Mailpiler-Section ############### -# Defines the smarthost for piler mail archive -PILER_SMARTHOST="mail.zmb.rocks" +PILER_BRANCH=release ############### Matrix-Section ############### diff --git a/src/piler/install-service.sh b/src/piler/install-service.sh index 406861f..f93717f 100644 --- a/src/piler/install-service.sh +++ b/src/piler/install-service.sh @@ -8,7 +8,7 @@ source zamba.conf wget -O - https://apt.bashclub.org/gpg/bashclub.pub | gpg --dearmor > /usr/share/keyrings/bashclub-keyring.gpg echo "deb [signed-by=/usr/share/keyrings/bashclub-keyring.gpg] https://apt.bashclub.org/manticore bookworm main" > /etc/apt/sources.list.d/bashclub-manticore.list -echo "deb [signed-by=/usr/share/keyrings/bashclub-keyring.gpg] https://apt.bashclub.org/testing bookworm main" > /etc/apt/sources.list.d/bashclub-testing.list +echo "deb [signed-by=/usr/share/keyrings/bashclub-keyring.gpg] https://apt.bashclub.org/$PILER_BRANCH bookworm main" > /etc/apt/sources.list.d/bashclub-testing.list apt update DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt install -y -qq --no-install-recommends piler