commit | c60fe9b299e095bef21d05691a9bf5e53d2052a2 | [log] [tgz] |
---|---|---|
author | Petr Michalec <epcim@apealive.net> | Thu Jun 01 17:32:28 2017 +0200 |
committer | GitHub <noreply@github.com> | Thu Jun 01 17:32:28 2017 +0200 |
tree | 4947bd1ccadff4dedba03e8a7b670b89536e9ad3 | |
parent | 388c5fb57b83dc6e3a7c15f53e41cead4429924f [diff] |
Revert "Update aptly_mirror_update.sh"
diff --git a/aptly/files/aptly_mirror_update.sh b/aptly/files/aptly_mirror_update.sh index 0421df5..e61e7a4 100755 --- a/aptly/files/aptly_mirror_update.sh +++ b/aptly/files/aptly_mirror_update.sh
@@ -23,7 +23,7 @@ SNAPSHOT=1 fi -MIRRORS=$(aptly mirror list 2>&1 | awk -F "]:" '/*/ { print substr($1,5)}') +MIRRORS=$(aptly mirror list --raw 2>&1) if [[ $? -ne 0 ]]; then log_error "$MIRRORS" exit 1