The following changes were made:
* Added etc/default/grub * Added usher to manage etc/default/grub
This commit is contained in:
20
SNAP/usher
Executable file
20
SNAP/usher
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user