grub-luks2-improved-stable/grub.install

21 lines
431 B
Plaintext
Raw Normal View History

infodir=/usr/share/info
filelist=(grub.info multiboot.info)
2008-11-12 11:39:19 +01:00
post_install() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
install-info $infodir/$file.gz $infodir/dir 2> /dev/null
2008-11-12 11:39:19 +01:00
done
}
post_upgrade() {
post_install $1
2008-11-12 11:39:19 +01:00
}
pre_remove() {
[ -x usr/bin/install-info ] || return 0
for file in ${filelist[@]}; do
install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
2008-11-12 11:39:19 +01:00
done
}