Disable redundant shellcheck warning
This commit is contained in:
parent
45d4b8bad6
commit
91a94bd0fb
1 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,8 @@ done < <(echo "$package_list" | tail -n+$((table_start+2)))
|
|||
|
||||
unneeded_package_list=$(printf '%s ' "${unneeded_packages[@]}")
|
||||
|
||||
if [ -n "$(echo $unneeded_package_list | tr -d ' ')" ]; then
|
||||
if [ -n "$(echo "$unneeded_package_list" | tr -d ' ')" ]; then
|
||||
# shellcheck disable=SC2086
|
||||
sudo zypper rm -u $unneeded_package_list
|
||||
else
|
||||
echo "No unneeded packages."
|
||||
|
|
Loading…
Reference in a new issue