* new upstream release

* pacman hooks - remove info file handling from install script
* fix Intel ucode handling (FS#47941)
* remove trailing white spaces from PKGBUILD
This commit is contained in:
Christian Hesse
2016-07-29 07:59:10 +00:00
parent 25ca70055e
commit b7cfff4062
10 changed files with 110 additions and 519 deletions

View File

@ -1,6 +1,3 @@
infodir="usr/share/info"
filelist=('grub.info' 'grub-dev.info')
post_install() {
if [ -f /boot/grub/grub.cfg.pacsave ]; then
echo "Copying /boot/grub/grub.cfg.pacsave to /boot/grub/grub.cfg"
@ -11,23 +8,8 @@ post_install() {
Generating grub.cfg.example config file...
This may fail on some machines running a custom kernel.
EOM
grub-mkconfig -o /boot/grub/grub.cfg.example 2> /dev/null
echo "done."
for file in ${filelist[@]}; do
install-info ${infodir}/${file}.gz ${infodir}/dir 2> /dev/null
done
}
post_upgrade() {
for file in ${filelist[@]}; do
install-info ${infodir}/${file}.gz ${infodir}/dir 2> /dev/null
done
}
pre_remove() {
for file in ${filelist[@]}; do
install-info --delete ${infodir}/${file} ${infodir}/dir 2> /dev/null
done
}