commit | 9a3cf4041d82b55f37a6b15afdb338142f83f2eb | [log] [tgz] |
---|---|---|
author | Alexander Noskov <noskovao@users.noreply.github.com> | Wed Mar 29 09:52:52 2017 +0400 |
committer | GitHub <noreply@github.com> | Wed Mar 29 09:52:52 2017 +0400 |
tree | 28af01eafe8ac7e3cdd3d271439d7a1d56a76047 | |
parent | 62dd72cab282d95debe43b90af45ee32ff77d8d6 [diff] |
Update aptly_mirror_update.sh suppress useless output when aptly running in docker container
diff --git a/aptly/files/aptly_mirror_update.sh b/aptly/files/aptly_mirror_update.sh index e61e7a4..0421df5 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 --raw 2>&1) +MIRRORS=$(aptly mirror list 2>&1 | awk -F "]:" '/*/ { print substr($1,5)}') if [[ $? -ne 0 ]]; then log_error "$MIRRORS" exit 1