summaryrefslogtreecommitdiffstats
path: root/abs/core/udev/udev.install
blob: 19d3546d7627e03cde875a9147db4ab311956427 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# arg 1:  the new package version
post_install() {
  sbin/migrate-udev `pwd`
}

# arg 1:  the new package version
# arg 2:  the old package version
post_upgrade() {
if [ "$(vercmp $2 100)" -lt 0 ]; then
  echo "ATTENTION UDEV:"
  echo "----------"
  echo "udev >=098 rules syntax has changed, please update your own rules."
  echo "udev >=099 Added persistent network and CD/DVD Symlink generator rules."
  echo "Please read the instructions carefully before reboot."
  echo "They are located in /etc/udev/readme-udev-arch.txt"
  echo "----------"
fi
}

op=$1
shift
$op $*