summarylogtreecommitdiffstats
path: root/patch-kernel-pacman-hook.install
blob: 97d0105e29ebb71e5b74cad29d22c33090f2d0ee (plain)
1
2
3
4
5
6
7
8
post_install() {
	if [ -f "/etc/pacman.d/patch-kernel.conf.pacsave" ]; then
		mv -v "/etc/pacman.d/patch-kernel.conf.pacsave" "/etc/pacman.d/patch-kernel.conf"
	else
		echo "To enable automatic kernel patching you have to customize /etc/pacman.d/patch-kernel.conf."
		echo -e "\033[0;33mpatch-kernel-pacman-hook is highly experimental, use at your own risk.\033[0m"
	fi
}