Skip to content

Commit

Permalink
Fix ShellCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Feb 17, 2025
1 parent 216690f commit 15e4c1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

aptget_update()
{
if [ ! -z $1 ]; then
if [ -n "$1" ]; then
echo ""
echo "Retrying apt-get update..."
echo ""
fi
output=`sudo apt-get update 2>&1`
output=$(sudo apt-get update 2>&1)
echo "$output"
if [[ $output == *[WE]:\ * ]]; then
return 1
Expand Down

0 comments on commit 15e4c1a

Please sign in to comment.