#!/bin/sh set -e case "$1" in configure) # script python /usr/share/lliurex-plymouth-patch/plymouth-fix.py chmod +x /etc/grub.d/00_header.fix dpkg-divert --package lliurex-plymouth-patch --rename --add --divert /etc/default/grub.real /etc/default/grub dpkg-divert --package lliurex-plymouth-patch --rename --add --divert /etc/grub.d/00_header.real /etc/grub.d/00_header ln -fs /etc/grub.d/00_header.fix /etc/grub.d/00_header ln -fs /etc/default/grub.fix /etc/default/grub grub-mkconfig -o /boot/grub/grub.cfg update-grub ;; esac #DEBHELPER# exit 0