Skip to content

Commit

Permalink
add index-*.asc
Browse files Browse the repository at this point in the history
  • Loading branch information
shankerwangmiao committed Oct 23, 2016
1 parent 827203c commit 104a3a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lxc-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ function sync_lxc_images() {
sync_lxc_images "${BASE_URL}/images" "${TUNASYNC_WORKING_DIR}/images"

mkdir -p "${TUNASYNC_WORKING_DIR}/meta/1.0"
wget -O "${TUNASYNC_WORKING_DIR}/meta/1.0/index-system" "${BASE_URL}/meta/1.0/index-system"
wget -O "${TUNASYNC_WORKING_DIR}/meta/1.0/index-user" "${BASE_URL}/meta/1.0/index-user"
for i in index-system index-system.asc index-user index-user.asc; do
wget -O "${TUNASYNC_WORKING_DIR}/meta/1.0/"$i "${BASE_URL}/meta/1.0/"$i
done

mkdir -p "${TUNASYNC_WORKING_DIR}/streams/v1"
wget -O "${TUNASYNC_WORKING_DIR}/streams/v1/index.json" "${BASE_URL}/streams/v1/index.json"
Expand Down

0 comments on commit 104a3a3

Please sign in to comment.