summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesus Alvarez2017-12-18 12:56:36 -0800
committerJesus Alvarez2017-12-18 12:56:36 -0800
commit72a1d26f055ab2797c6d00b406794e732eea100f (patch)
tree7a33d536714ea2a912880ce9effc072d4b1fcbbf
parentf9e13d33fdd312f15423b1cab05f6db81836e16f (diff)
downloadaur-72a1d26f055ab2797c6d00b406794e732eea100f.tar.gz
Semi-automated update for 0.7.4
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD2
-rw-r--r--zfs-utils.install18
3 files changed, 12 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 861e6ff92a5d..043d5bfa7ff3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 077f9b0eceb6..fc067fe6d32b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}
-