apt does not like --purge with clean

This commit is contained in:
Alexandre Aubin 2018-03-08 21:24:15 +01:00 committed by GitHub
parent 1f797fefe3
commit 8250bba120
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -511,7 +511,7 @@ function clean_image() {
find /var/log -type f -exec rm {} \; >> $YUNOHOST_LOG 2>&1
# Purging apt ...
apt-get --purge clean >> $YUNOHOST_LOG 2>&1
apt-get clean >> $YUNOHOST_LOG 2>&1
}