summaryrefslogtreecommitdiffstats
path: root/abs/core/btrfs-progs/btrfs-progs.install
diff options
context:
space:
mode:
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
}