K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / var / lib / dpkg / info /
server ip : 172.67.156.115

your ip : 172.70.131.161

H O M E


Filename/var/lib/dpkg/info/grub-pc.prerm
Size706
Permissionrwxr-xr-x
Ownerroot : root
Create time27-Apr-2025 09:58
Last modified23-Mar-2019 03:53
Last accessed06-Jul-2025 22:56
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
#!/bin/bash
set -e

case "$1" in
remove|deconfigure)
. /usr/share/debconf/confmodule
db_get grub-pc/chainload_from_menu.lst
if $RET && test -e /boot/grub/menu.lst ; then
echo "Saving menu.lst backup in /boot/grub/menu.lst_backup_by_grub2_prerm" >&2
cp /boot/grub/menu.lst{,_backup_by_grub2_prerm}
echo "Running update-grub Legacy to remove our core.img in it" >&2
/usr/lib/grub-legacy/update-grub 2>&1 | sed -e "s/^/ /g" >&2
fi
;;
failed-upgrade|upgrade)
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 1
;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.



exit 0