3
# purge-old-kernels - remove old kernel packages
4
# Copyright (C) 2012 Dustin Kirkland <kirkland@ubuntu.com>
6
# Authors: Dustin Kirkland <kirkland@ubuntu.com>
7
# Kees Cook <kees@ubuntu.com>
9
# This program is free software: you can redistribute it and/or modify
10
# it under the terms of the GNU General Public License as published by
11
# the Free Software Foundation, version 3 of the License.
13
# This program is distributed in the hope that it will be useful,
14
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
# GNU General Public License for more details.
18
# You should have received a copy of the GNU General Public License
19
# along with this program. If not, see <http://www.gnu.org/licenses/>.
21
# apt autoremove supposedly works correctly now.
23
# Thus, we're deprecating the functionality previously found
24
# in purge-old-kernels.
26
# If you still have old kernels lying around after this, please
27
# file a bug against apt: https://bugs.launchpad.net/ubuntu/+source/apt/+filebug
29
sudo apt-get $@ autoremove