Lakka-LibreELEC/scripts/autoremove
2020-02-10 08:53:39 +01:00

13 lines
293 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}" -a "${PKG_SECTION}" != "virtual" ]; then
print_color CLR_AUTOREMOVE "AUTOREMOVE ${PKG_BUILD}"
echo
rm -r "${PKG_BUILD}"
fi