summaryrefslogtreecommitdiffstats
path: root/abs/core/btrfs-progs/btrfs-progs.install
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-01-28 13:00:43 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-01-28 13:00:43 (GMT)
commitb941d38c40a0ac08e7db249ba2c9b99f4bda2c23 (patch)
tree6f7544558b83f90d4ef7c74d3e37432a3e0914af /abs/core/btrfs-progs/btrfs-progs.install
parenta8b3aaa8ee20c220e456285ba36b53916184ebdb (diff)
downloadlinhes_pkgbuild-b941d38c40a0ac08e7db249ba2c9b99f4bda2c23.zip
linhes_pkgbuild-b941d38c40a0ac08e7db249ba2c9b99f4bda2c23.tar.gz
linhes_pkgbuild-b941d38c40a0ac08e7db249ba2c9b99f4bda2c23.tar.bz2
btrfs-progs: update to 4.4
Diffstat (limited to 'abs/core/btrfs-progs/btrfs-progs.install')
-rw-r--r--abs/core/btrfs-progs/btrfs-progs.install10
1 files changed, 8 insertions, 2 deletions
diff --git a/abs/core/btrfs-progs/btrfs-progs.install b/abs/core/btrfs-progs/btrfs-progs.install
index d6c0698..1e75f02 100644
--- a/abs/core/btrfs-progs/btrfs-progs.install
+++ b/abs/core/btrfs-progs/btrfs-progs.install
@@ -1,8 +1,14 @@
#!/bin/sh
+## arg 1: the new package version
+## arg 2: the old package version
post_upgrade() {
- if [ "$(vercmp 0.19.20121005 "$2")" -eq 1 ]; then
- echo "btrfs multi-device support now relies on linux 3.6 or later"
+ if (( "$(vercmp "$2" 0.19.20121005)" < 0 )); then
+ echo 'btrfs multi-device support now relies on linux 3.6 or later'
+ elif (( "$(vercmp "$2" 4.3.1-2)" < 0 )); then
+ echo 'btrfs-scrub@.timer instance names must not be prefix by dash anymore'
+ echo 'use btrfs-scrub@-.timer to scrub / monthly'
+ echo ' btrfs-scrub@home.timer to scrub /home monthly.'
fi
}