fixed a check in docker build script

This commit is contained in:
Stanislav Lechev [0xAF] 2023-07-04 03:37:39 +03:00
parent 27f42c7085
commit 3c31aefa91
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ fi
if [[ -z ${FULL_BUILD:-} || ${1:-} == 'clean' ]]; then
echo "Cleaning from $0"
apt-get -y purge --autoremove $BUILD_PACKAGES
if [[ -z $FULL_BUILD ]]; then
if [[ -z ${FULL_BUILD:-} ]]; then
apt-get clean
rm -rf /var/lib/apt/lists/*
fi