summaryrefslogtreecommitdiffstats
path: root/abs/core/btrfs-progs/btrfs-progs.install
blob: 1e75f0250c6cf3b68e3b20550a4e0b31319781cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

## arg 1:  the new package version
## arg 2:  the old package version
post_upgrade() {
  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
}

# vim:set ts=2 sw=2 et: