21 lines
270 B
Bash
Executable File
21 lines
270 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
case $1 in
|
|
preinst)
|
|
exit 0
|
|
;;
|
|
postinst)
|
|
if [ ! -f ${TARGET}/etc/default/grub ]; then
|
|
cp ${TARGET}/usr/share/grub/grub.default ${TARGET}/etc/default/grub
|
|
fi
|
|
;;
|
|
prerm)
|
|
exit 0
|
|
;;
|
|
postrm)
|
|
exit 0
|
|
;;
|
|
esac
|