core/dkms/dkms.install

14 lines
406 B
Plaintext
Raw Normal View History

2018-04-13 02:16:48 +08:00
#!/bin/bash
2014-10-14 02:12:43 +08:00
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
2018-04-13 02:16:48 +08:00
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
2014-10-14 02:12:43 +08:00
}
# vim:set ts=2 sw=2 ft=sh et: