mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
scripts/autoremove: shellcheck changes
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
. config/options "${1}"
|
||||
|
||||
if [ -d "${PKG_BUILD}" -a "${PKG_SECTION}" != "virtual" ]; then
|
||||
if [ -d "${PKG_BUILD}" ] && [ "${PKG_SECTION}" != "virtual" ]; then
|
||||
print_color CLR_AUTOREMOVE "AUTOREMOVE ${PKG_BUILD}"
|
||||
echo
|
||||
rm -r "${PKG_BUILD}"
|
||||
|
||||
Reference in New Issue
Block a user