mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
14 lines
390 B
Text
14 lines
390 B
Text
# arg 1: the new package version
|
|
# arg 2: the old package version
|
|
|
|
post_upgrade() {
|
|
if [ "$(vercmp $2 2.6.8-2)" -lt 0 -a "$(grep raid_partitions /etc/mkinitcpio.conf)" ]; then
|
|
echo "Attention mdadm update:"
|
|
echo "raid_partitions hook has been replaced by the more powerfull mdadm hook."
|
|
echo "Please update your /etc/mkinitcpio.conf accordingly."
|
|
fi
|
|
}
|
|
|
|
op=$1
|
|
shift
|
|
$op $*
|