mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 10:01:01 +03:00
zfs-dkms: fix shell-init error message
If all zfs dkms modules have been removed, a shell-init error message may appear, because /var/lib/dkms/zfs does no longer exist. Resolve this by leaving the directory earlier on. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Mart Frauenlob <AllKind@fastest.cc> Closes #15576
This commit is contained in:
parent
cf33166336
commit
95b68eb693
@ -103,6 +103,7 @@ if [ -d ${dkms_root}/%{module} ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
cd ${dkms_root}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Uninstall this version of zfs dkms modules before installation of the package.
|
# Uninstall this version of zfs dkms modules before installation of the package.
|
||||||
|
Loading…
Reference in New Issue
Block a user