mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
scripts/unpack: clean stale package build dir
This commit is contained in:
parent
3389a8bd61
commit
89de68843e
@ -52,6 +52,11 @@ for i in $BUILD/$1-*; do
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -d "$PKG_BUILD" -a ! -f "$STAMP" ]; then
|
||||
# stale pkg build dir
|
||||
$SCRIPTS/clean $1
|
||||
fi
|
||||
|
||||
[ -f "$STAMP" ] && exit 0
|
||||
|
||||
printf "%${BUILD_INDENT}c ${boldcyan}UNPACK${endcolor} $1\n" ' '>&$SILENT_OUT
|
||||
|
Loading…
x
Reference in New Issue
Block a user