summarylogtreecommitdiffstats
path: root/zfs-utils.install
diff options
context:
space:
mode:
authorJesus Alvarez2017-12-18 12:56:36 -0800
committerJesus Alvarez2017-12-18 12:56:36 -0800
commit72a1d26f055ab2797c6d00b406794e732eea100f (patch)
tree7a33d536714ea2a912880ce9effc072d4b1fcbbf /zfs-utils.install
parentf9e13d33fdd312f15423b1cab05f6db81836e16f (diff)
downloadaur-72a1d26f055ab2797c6d00b406794e732eea100f.tar.gz
Semi-automated update for 0.7.4
Diffstat (limited to 'zfs-utils.install')
-rw-r--r--zfs-utils.install18
1 files changed, 9 insertions, 9 deletions
diff --git a/zfs-utils.install b/zfs-utils.install
index ba23cb0f98ac..4bdcc2036d1e 100644
--- a/zfs-utils.install
+++ b/zfs-utils.install
@@ -1,14 +1,14 @@
-show_warning() {
- echo ">>> WARNING: The systemd unit files for archzfs have changed!"
- echo ">>> You may need re-enable the zfs systemd service."
- echo ">>> See https://github.com/archzfs/archzfs/issues/72"
-}
-post_install() {
- show_warning
+show_zfs_import_warning() {
+ 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"
}
post_upgrade() {
- show_warning
+ # If upgrading from 0.7.4-1 or older
+ # display zfs-import warning
+ if [[ $(vercmp $2 0.7.4-1) -le 0 ]]; then
+ show_zfs_import_warning
+ fi
}
-