From fb1b034ddd18c021b6dd9504493ca65d5cabc771 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Mon, 6 Feb 2017 12:16:18 -0600 Subject: [PATCH] * usr/bin/purge-old-kernels: - fix $APT_OPS position, thanks Benjamin J. Stassart --- debian/changelog | 2 ++ usr/bin/purge-old-kernels | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 000570fd..3ff757ce 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ byobu (5.115) unreleased; urgency=medium * debian/control: - depend on net-tools, for ifconfig + * usr/bin/purge-old-kernels: + - fix $APT_OPS position, thanks Benjamin J. Stassart -- Dustin Kirkland Fri, 27 Jan 2017 08:31:01 -0600 diff --git a/usr/bin/purge-old-kernels b/usr/bin/purge-old-kernels index c71fe7f9..0a4e8072 100755 --- a/usr/bin/purge-old-kernels +++ b/usr/bin/purge-old-kernels @@ -71,5 +71,5 @@ if ! apt-get install --fix-broken --dry-run >/dev/null 2>&1; then dpkg --purge $PURGE apt-get install --fix-broken fi -apt-get $APT_OPTS remove --purge $PURGE -apt-get $APT_OPTS autoremove --purge +apt-get remove $APT_OPTS --purge $PURGE +apt-get autoremove $APT_OPTS --purge