From 141e3b0b26d8d876d305883b62f00e5519385061 Mon Sep 17 00:00:00 2001 From: Andrey Volkov Date: Thu, 18 Oct 2018 23:06:16 +0000 Subject: [PATCH] Add batch for making signature --- assets/update_mirror_ubuntu.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/update_mirror_ubuntu.sh b/assets/update_mirror_ubuntu.sh index 2a6e70e..330344f 100755 --- a/assets/update_mirror_ubuntu.sh +++ b/assets/update_mirror_ubuntu.sh @@ -66,10 +66,12 @@ set +e aptly publish list -raw | awk '{print $2}' | grep "^${UBUNTU_RELEASE}$" if [[ $? -eq 0 ]]; then aptly publish switch \ + -batch=true \ -passphrase="${GPG_PASSWORD}" \ ${UBUNTU_RELEASE} ${UBUNTU_RELEASE}-merged-`date +%Y%m%d%H` else aptly publish snapshot \ + -batch=true \ -passphrase="${GPG_PASSWORD}" \ -distribution=${UBUNTU_RELEASE} ${UBUNTU_RELEASE}-merged-`date +%Y%m%d%H` fi