Browse Source

Add batch for making signature

changes/02/613702/1
Andrey Volkov 9 months ago
parent
commit
141e3b0b26
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      assets/update_mirror_ubuntu.sh

+ 2
- 0
assets/update_mirror_ubuntu.sh View File

@@ -66,10 +66,12 @@ set +e
66 66
 aptly publish list -raw | awk '{print $2}' | grep "^${UBUNTU_RELEASE}$"
67 67
 if [[ $? -eq 0 ]]; then
68 68
   aptly publish switch            \
69
+    -batch=true \
69 70
     -passphrase="${GPG_PASSWORD}" \
70 71
     ${UBUNTU_RELEASE} ${UBUNTU_RELEASE}-merged-`date +%Y%m%d%H`
71 72
 else
72 73
   aptly publish snapshot \
74
+    -batch=true \
73 75
     -passphrase="${GPG_PASSWORD}" \
74 76
     -distribution=${UBUNTU_RELEASE} ${UBUNTU_RELEASE}-merged-`date +%Y%m%d%H`
75 77
 fi

Loading…
Cancel
Save