* usr/bin/purge-old-kernels:

- use apt-get, rather than apt, for compatibility with trusty/precise apt
This commit is contained in:
Dustin Kirkland 2016-12-10 09:38:08 -06:00
commit 9aa9bb8aff
2 changed files with 5 additions and 3 deletions

3
debian/changelog vendored
View file

@ -1,6 +1,7 @@
byobu (5.114) unreleased; urgency=medium
* UNRELEASED
* usr/bin/purge-old-kernels:
- use apt-get, rather than apt, for compatibility with trusty/precise apt
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 07 Dec 2016 08:18:12 -0600

View file

@ -65,5 +65,6 @@ if [ -z "$PURGE" ]; then
exit 0
fi
apt $APT_OPTS remove --purge $PURGE
apt $APT_OPTS autoremove --purge
# Use apt-get, rather than apt, for compatibility with precise/trusty
apt-get $APT_OPTS remove --purge $PURGE
apt-get $APT_OPTS autoremove --purge