wimpysworld / desktopify

Convert Ubuntu Server for Raspberry Pi into a Desktop
https://www.youtube.com/watch?v=umtZuUJOU38
MIT License
520 stars 89 forks source link

Fix issues reported by shellcheck #41

Closed tssva closed 4 years ago

tssva commented 4 years ago

Corrects the following issues currently causing spellcheck to fail.

In /home/runner/work/desktopify/desktopify/desktopify line 244:
if [ "$(env LANG=C apt list --installed ${DESKTOP_PACKAGES} 2>/dev/null | grep installed)" ] && [ "${FORCE}" -eq 0 ]; then
     ^-- SC2143: Use grep -q instead of comparing output with [ -n .. ].

In /home/runner/work/desktopify/desktopify/desktopify line 260:
apt install -y ${HARDWARE_PACKAGES}
               ^-- SC2086: Double quote to prevent globbing and word splitting.