remove-old-kernels: don't include shell-error (not needed)
Signed-off-by: Vladimir V. Kamarzin <vvk@altlinux.org>
This commit is contained in:
parent
4d85a75c74
commit
5eaa804ff3
@ -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' ' ')"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user