summarylogtreecommitdiffstats
path: root/ags.install
blob: f966f651587ebe107652f7e19ac5d4a221d464e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

## arg 1:  the new package version
## arg 2:  the old package version	
post_upgrade() {
  if [ "$(vercmp $2 2.0.0)" -lt 0 ]; then
    echo ""
    echo "ags v2 includes many breaking changes."
    echo ""
    echo "If your ags config is large, I recommend installing this:"
    echo "https://github.com/kotontrion/PKGBUILDS/blob/main/agsv1/PKGBUILD"
    echo "alongside this package. So you can use your old config while migrating."
    echo ""
  fi
	
}