mirror of
https://codeberg.org/hyperreal/admin-scripts
synced 2025-01-18 07:43:44 +01:00
Oof
This commit is contained in:
parent
db40009692
commit
516b4dacd3
@ -32,7 +32,7 @@ wget --quiet https://files.hyperreal.coffee/archive-index-template.html \
|
|||||||
-O "${TMP_DIR}/index.html"
|
-O "${TMP_DIR}/index.html"
|
||||||
|
|
||||||
# Replace "CHANGEME" with the the BUCKET_NAME argument in index.html.
|
# Replace "CHANGEME" with the the BUCKET_NAME argument in index.html.
|
||||||
sed -i "s/CHANGEME/$1/g" "${TMP_DIR}/index.html"
|
sed -i "s/CHANGEME/$2/g" "${TMP_DIR}/index.html"
|
||||||
|
|
||||||
# Put the new index.html into the root of the given bucket.
|
# Put the new index.html into the root of the given bucket.
|
||||||
mc put "${TMP_DIR}/index.html" "${1}/${2}/"
|
mc put "${TMP_DIR}/index.html" "${1}/${2}/"
|
||||||
|
Loading…
Reference in New Issue
Block a user