Semi-automated update for 0.6.5.6_4.5.1_1-3

This commit is contained in:
Jesus Alvarez
2016-04-24 16:47:49 -07:00
parent e0d5aaddfd
commit 5583681b0f
3 changed files with 7 additions and 6 deletions

View File

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