diff options
author | Jesus Alvarez | 2017-12-18 12:56:36 -0800 |
---|---|---|
committer | Jesus Alvarez | 2017-12-18 12:56:36 -0800 |
commit | 72a1d26f055ab2797c6d00b406794e732eea100f (patch) | |
tree | 7a33d536714ea2a912880ce9effc072d4b1fcbbf | |
parent | f9e13d33fdd312f15423b1cab05f6db81836e16f (diff) | |
download | aur-72a1d26f055ab2797c6d00b406794e732eea100f.tar.gz |
Semi-automated update for 0.7.4
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | zfs-utils.install | 18 |
3 files changed, 12 insertions, 12 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Wed Dec 13 19:51:41 UTC 2017 +# Mon Dec 18 19:08:19 UTC 2017 pkgbase = zfs-utils-common pkgdesc = Kernel module support files for the Zettabyte File System. pkgver = 0.7.4 - pkgrel = 1 + pkgrel = 2 url = http://zfsonlinux.org/ install = zfs-utils.install arch = x86_64 @@ -8,7 +8,7 @@ pkgname="zfs-utils-common" pkgver=0.7.4 -pkgrel=1 +pkgrel=2 pkgdesc="Kernel module support files for the Zettabyte File System." depends=("") makedepends=("git") 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 } - |