Files
LibreELEC.tv/scripts/autoremove
Ian Leonard 5542edd511 scripts/autoremove: shellcheck changes
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2025-08-26 04:45:45 -04:00

13 lines
297 B
Bash
Executable File

#!/bin/bash
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
. config/options "${1}"
if [ -d "${PKG_BUILD}" ] && [ "${PKG_SECTION}" != "virtual" ]; then
print_color CLR_AUTOREMOVE "AUTOREMOVE ${PKG_BUILD}"
echo
rm -r "${PKG_BUILD}"
fi