Semi-automated update for 4.11.9_1-1

This commit is contained in:
Jesus Alvarez
2017-07-28 02:47:04 -07:00
parent 25fac2c143
commit 0d418c16a2
3 changed files with 54 additions and 35 deletions

View File

@ -12,7 +12,7 @@ post_upgrade() {
check_initramfs() {
echo ">>> Updating ZFS module dependencies"
depmod -a 4.10.13-1-ARCH
depmod -a 4.11.9-1-ARCH
MK_CONF=$(grep -v '#' /etc/mkinitcpio.conf | grep zfs >/dev/null; echo $?);
if [[ ${MK_CONF} == '0' ]]; then
if [[ $1 == 'remove' ]]; then