scripts/autoremove: shellcheck changes

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
Ian Leonard
2022-10-02 01:48:00 +00:00
parent 3608905ea6
commit 5542edd511

View File

@@ -5,7 +5,7 @@
. config/options "${1}" . 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}" print_color CLR_AUTOREMOVE "AUTOREMOVE ${PKG_BUILD}"
echo echo
rm -r "${PKG_BUILD}" rm -r "${PKG_BUILD}"