Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
electrocucaracha committed Oct 2, 2024
1 parent 1707315 commit 9c29186
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion ci/update_distros.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ cat <<EOT >.distros_supported.yml
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
EOT

_vagrant_pull "rocky_9" "rockylinux/9" "rocky-linux-cloud" "rocky-linux-9"
Expand Down
2 changes: 1 addition & 1 deletion ci/update_versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if [[ ${OS_DEBUG:-false} == "true" ]]; then
fi

# Update GitHub Action commit hashes
gh_actions=$(grep -r "uses: [a-zA-Z\-]*/[\_a-z\-]*@" .github/ | sed 's/@.*//' | awk -F ': ' '{ print $3 }' | sort -u )
gh_actions=$(grep -r "uses: [a-zA-Z\-]*/[\_a-z\-]*@" .github/ | sed 's/@.*//' | awk -F ': ' '{ print $3 }' | sort -u)
for action in $gh_actions; do
commit_hash=$(git ls-remote "https://github.com/$action" | grep 'refs/tags/[v]\?[0-9][0-9\.]*$' | sed 's|refs/tags/[vV]\?[\.]\?||g' | sort -u -k2 -V | tail -1 | awk '{ printf "%s # %s\n",$1,$2 }')
# shellcheck disable=SC2267
Expand Down
1 change: 0 additions & 1 deletion distros_supported.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################

rocky_9:
name: rockylinux/9
vb_controller: IDE Controller
Expand Down
2 changes: 1 addition & 1 deletion node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ while getopts "h?v:c:" opt; do
esac
done

if ${ID,,} == ubuntu; then
if [ "${ID,,}" == "ubuntu" ]; then
sudo apt-get install -y -qq -o=Dpkg::Use-Pty=0 "linux-modules-extra-$(uname -r)"
fi

Expand Down

0 comments on commit 9c29186

Please sign in to comment.