summarylogtreecommitdiffstats
path: root/zfs.install
diff options
context:
space:
mode:
authorArchzfs Buildbot2018-09-08 10:26:23 +0000
committerArchzfs Buildbot2018-09-08 10:26:23 +0000
commite4f8bbeeceea40a60da89f6875e3881adab13e50 (patch)
tree4fb2e1c6391e4b80221745f897c72db989b2a4d4 /zfs.install
parentfcd3684753e8ed3bf77d80be92d1726983ad226b (diff)
downloadaur-e4f8bbeeceea40a60da89f6875e3881adab13e50.tar.gz
Semi-automated update for kernel 4.18.6.a-1 + latest git commit
Diffstat (limited to 'zfs.install')
-rw-r--r--zfs.install14
1 files changed, 0 insertions, 14 deletions
diff --git a/zfs.install b/zfs.install
index 89e57ad8af1b..c2a2d7807e6d 100644
--- a/zfs.install
+++ b/zfs.install
@@ -1,18 +1,4 @@
-post_install() {
- check_initramfs
-}
-
post_remove() {
- check_initramfs 'remove'
-}
-
-post_upgrade() {
- check_initramfs
-}
-
-check_initramfs() {
- echo ">>> Updating ZFS module dependencies"
- depmod -a 4.18.5.a-1-hardened
MK_CONF=$(grep -v '#' /etc/mkinitcpio.conf | grep zfs >/dev/null; echo $?);
if [[ ${MK_CONF} == '0' && $1 == 'remove' ]]; then
echo '>>> The ZFS packages have been removed, but "zfs" remains in the "hooks"'