mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-04-19 12:07:18 +00:00
scripts: add comment to clarify usage
This commit is contained in:
parent
0647fa703b
commit
aa343ae3bf
@ -29,6 +29,7 @@ clean_package() {
|
||||
return
|
||||
fi
|
||||
|
||||
# Use a wilcard here to remove all versions of the package
|
||||
for i in $BUILD/$1-*; do
|
||||
if [ -d $i -a -f "$i/.libreelec-unpack" ] ; then
|
||||
. "$i/.libreelec-unpack"
|
||||
|
@ -39,6 +39,7 @@ mkdir -p $BUILD
|
||||
STAMP_DEPENDS="$PKG_DIR $PKG_NEED_UNPACK $PROJECT_DIR/$PROJECT/patches/$PKG_NAME"
|
||||
[ -n "$DEVICE" ] && STAMP_DEPENDS="$STAMP_DEPENDS $PROJECT_DIR/$PROJECT/devices/$DEVICE/patches/$PKG_NAME"
|
||||
|
||||
# Perform a wildcard match on the package to ensure old versions are cleaned too
|
||||
for i in $BUILD/$1-*; do
|
||||
if [ -d $i -a -f "$i/.libreelec-unpack" ] ; then
|
||||
. "$i/.libreelec-unpack"
|
||||
|
Loading…
x
Reference in New Issue
Block a user