Skip to content

Commit 15e4c1a

Browse files
committed
Fix ShellCheck
1 parent 216690f commit 15e4c1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.ci/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
aptget_update()
44
{
5-
if [ ! -z $1 ]; then
5+
if [ -n "$1" ]; then
66
echo ""
77
echo "Retrying apt-get update..."
88
echo ""
99
fi
10-
output=`sudo apt-get update 2>&1`
10+
output=$(sudo apt-get update 2>&1)
1111
echo "$output"
1212
if [[ $output == *[WE]:\ * ]]; then
1313
return 1

0 commit comments

Comments
 (0)