summarylogtreecommitdiffstats
path: root/zfs-utils.install
blob: 7aeca7919f0e968c85a65650382f178b261ada9b (plain)
1
2
3
4
5
6
7
8
9
10
11
post_upgrade() {
    
    # If upgrading from 0.7.4-1 or older
    # display zfs-import warning
    if [[ $(vercmp $2 0.7.4-1) -le 0 ]]; then
        echo '>>> WARNING: A new systemd unit file was added to archzfs!'
        echo '>>>          You may need enable zfs-import.target'
        echo '>>>          See https://github.com/archzfs/archzfs/issues/186'
    fi
    
}