1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-23 12:06:18 +00:00
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