Check whether there actually are temporary packages
This commit is contained in:
@@ -4,7 +4,7 @@ source /build/config
|
|||||||
set -x
|
set -x
|
||||||
|
|
||||||
## Remove temporary packages for minimal builds
|
## Remove temporary packages for minimal builds
|
||||||
if [ $MODE == "minimal" ]; then
|
if [ $MODE == "minimal" ] && [ -f /build/temporary ]; then
|
||||||
cat /build/temporary
|
cat /build/temporary
|
||||||
apt_remove $(cat /build/temporary)
|
apt_remove $(cat /build/temporary)
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user