summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Volkov <av903u@att.com>2018-10-18 23:06:16 +0000
committerAndrey Volkov <av903u@att.com>2018-10-23 14:51:05 -0700
commit141e3b0b26d8d876d305883b62f00e5519385061 (patch)
treec1276a9fd9b277ab61a5a53f70f8bec0565ba85d
parentd1689ae911a0a1efcb510c1972d1b894a44ed5c1 (diff)
Add batch for making signature
-rwxr-xr-xassets/update_mirror_ubuntu.sh2
1 files changed, 2 insertions, 0 deletions
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
66aptly publish list -raw | awk '{print $2}' | grep "^${UBUNTU_RELEASE}$" 66aptly publish list -raw | awk '{print $2}' | grep "^${UBUNTU_RELEASE}$"
67if [[ $? -eq 0 ]]; then 67if [[ $? -eq 0 ]]; then
68 aptly publish switch \ 68 aptly publish switch \
69 -batch=true \
69 -passphrase="${GPG_PASSWORD}" \ 70 -passphrase="${GPG_PASSWORD}" \
70 ${UBUNTU_RELEASE} ${UBUNTU_RELEASE}-merged-`date +%Y%m%d%H` 71 ${UBUNTU_RELEASE} ${UBUNTU_RELEASE}-merged-`date +%Y%m%d%H`
71else 72else
72 aptly publish snapshot \ 73 aptly publish snapshot \
74 -batch=true \
73 -passphrase="${GPG_PASSWORD}" \ 75 -passphrase="${GPG_PASSWORD}" \
74 -distribution=${UBUNTU_RELEASE} ${UBUNTU_RELEASE}-merged-`date +%Y%m%d%H` 76 -distribution=${UBUNTU_RELEASE} ${UBUNTU_RELEASE}-merged-`date +%Y%m%d%H`
75fi 77fi