remove-old-kernels: don't include shell-error (not needed)

Signed-off-by: Vladimir V. Kamarzin <vvk@altlinux.org>
This commit is contained in:
Vladimir V. Kamarzin 2008-12-28 17:56:43 +05:00
parent 4d85a75c74
commit 5eaa804ff3

View File

@ -17,8 +17,6 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
. shell-error
flavour_version_release="$(uname -r | awk -F- '{print $2"-"$3"-"$1"-"$4}')"
old_kernels="$(rpm -qa | fgrep kernel-image | fgrep -v $flavour_version_release | tr '\n' ' ')"