POSIX compliance

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-06-25 23:44:37 -07:00
parent 0e8925f20b
commit c4c45818ee
No known key found for this signature in database
GPG Key ID: 555C902A34EC968F
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
#curl -L -s https://api.github.com/repos/gohugoio/hugo/releases/latest | grep "browser_download_url.*extended.*linux-amd64.tar.gz" | cut -d : -f 2,3 | sed 's/"//g' | xargs wget
@ -7,7 +7,7 @@ wget https://github.com/gohugoio/hugo/releases/download/v0.119.0/hugo_0.119.0_Li
tar xvf ./*.tar.gz
chmod u+x ./hugo
if [ "$CF_PAGES_BRANCH" == "main" ]; then
if [ "$CF_PAGES_BRANCH" = "main" ]; then
./hugo --minify
else
./hugo -b "$CF_PAGES_URL"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
#Docker and OCI Hardening
echo "Fetching and Modifying the Docker and OCI Hardening post"