* Added URL, REPO, and BRIEF to Makefile * usher now uses /bin/sh * Removed TARGET from usher
27 lines
451 B
Bash
Executable File
27 lines
451 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
case $1 in
|
|
preinst)
|
|
exit 0
|
|
;;
|
|
postinst)
|
|
if [ ! -f /usr/share/mkinitramfs/bins/default ]; then
|
|
cp /usr/share/mkinitramfs/default-bins \
|
|
/usr/share/mkinitramfs/bins/default
|
|
fi
|
|
|
|
if [ ! -f /usr/share/mkinitramfs/mods/default ]; then
|
|
cp /usr/share/mkinitramfs/default-mods \
|
|
/usr/share/mkinitramfs/mods/default
|
|
fi
|
|
;;
|
|
prerm)
|
|
exit 0
|
|
;;
|
|
postrm)
|
|
exit 0
|
|
;;
|
|
esac
|