summarylogtreecommitdiffstats
path: root/dkms.install
blob: 1762f30f9ef9ff1858e2554fa55a5e266cccc986 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

# arg 1:  the new package version
# arg 2:  the old package version
post_upgrade() {
  if (( "$(vercmp $2 '2.2.0.3+git151023-2')" < 0 )); then
    echo '===> dkms systemd startup service has been removed'
    echo '===> modules building is now handled by alpm hooks at install time'
    echo '===> startup modules loading must be done via modules-load.d'
  fi
}

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