X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=src%2Fpaks%2Flinux-pae%2Fupdate.sh;h=7df354de3cf8b0bf8fbfc08ead57e9d1e775c333;hb=8117fff863431671939d5aa1c11c0a84e56298a2;hp=abbaf47c3cdefc976257ad3dcd052b658b3002b7;hpb=e2929cde1203ebeb194264bb7d7b9ca4e484e525;p=ipfire-2.x.git diff --git a/src/paks/linux-pae/update.sh b/src/paks/linux-pae/update.sh index abbaf47c3c..7df354de3c 100644 --- a/src/paks/linux-pae/update.sh +++ b/src/paks/linux-pae/update.sh @@ -17,11 +17,16 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2007 IPFire-Team . # +# Copyright (C) 2007-2014 IPFire-Team . # # # ############################################################################ # . /opt/pakfire/lib/functions.sh -#Don't remove old xen kernel at update -#./uninstall.sh +remove_files +rm -rf /boot/initramfs-*-pae.img +rm -rf /boot/vmlinuz-*-pae +rm -rf /lib/modules/*-ipfire-pae +if [ ! -f /boot/grub/grub.conf ]; then + grub-mkconfig > /boot/grub/grub.cfg +fi ./install.sh