Avoid [Y/n] query on package autoremove in "mini" hook.
Added "--yes" to "apt-get autoremove" line to avoid APT from popping up a confirmation.
This commit is contained in:
parent
b7cbf62451
commit
2e260e9e86
|
@ -18,7 +18,7 @@ do
|
|||
fi
|
||||
done
|
||||
|
||||
apt-get autoremove || true
|
||||
apt-get autoremove --yes || true
|
||||
|
||||
# Removing unused files
|
||||
find . -name *~ | xargs rm -f
|
||||
|
|
Loading…
Reference in New Issue