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 : 104.21.89.46

your ip : 172.70.80.99

H O M E


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

case "$1" in
purge)
rm -f /etc/default/grub

if which ucf >/dev/null ; then
ucf --purge /etc/default/grub
fi
if which ucfr >/dev/null ; then
ucfr --purge grub-pc /etc/default/grub || true
fi

case grub-pc in
grub-pc)
# debconf could have been purged
if [ -e /usr/share/debconf/confmodule ] ; then
. /usr/share/debconf/confmodule
fi

db_input high grub-pc/postrm_purge_boot_grub || true
db_go || true
db_get grub-pc/postrm_purge_boot_grub || true
if [ "$RET" = "true" ] ; then
rm -f /boot/grub/{grub.cfg,ascii.pf2,unicode.pf2,moreblue-orbit-grub.png,*.mod,*.lst,*.img,efiemu32.o,efiemu64.o,device.map,grubenv,installed-version,.background_cache.jpeg,.background_cache.png,.background_cache.tga} || true
rm -rf /boot/grub/locale
rmdir --ignore-fail-on-non-empty /boot/grub || true
fi
;;

grub-efi-ia32|grub-efi-amd64)
rm -f /boot/grub/unicode.pf2
;;
esac

;;
remove|upgrade|failed-upgrade|abort-upgrade|abort-install)
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
;;
esac

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

# Automatically added by dh_installdebconf
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
# End automatically added section


exit 0