mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
19 lines
809 B
Text
19 lines
809 B
Text
post_upgrade() {
|
|
if [ "$(vercmp $2 2009.07)" -lt 0 ]; then
|
|
echo "==> Adjusting /etc/inittab for transition to /dev/tty standard."
|
|
echo "==> Original file saved as /etc/inittab.pacsave"
|
|
sed -i'.pacsave' 's#vc/\([0-9]\)#tty\1#' /etc/inittab
|
|
fi
|
|
if [ "$(vercmp $2 2011.06.1)" -lt 0 ]; then
|
|
echo "Blacklisting of modules is no longer supported in rc.conf,"
|
|
echo "please add blacklist entries to /etc/modprobe.d/ instead."
|
|
fi
|
|
if [ "$(vercmp $2 2011.07.2)" -lt 0 ]; then
|
|
echo "VERBOSE= in rc.conf no longer has any effect."
|
|
echo "Please append 'quiet' to your kernel command line."
|
|
fi
|
|
if [ "$(vercmp $2 2011.10.1)" -lt 0 ]; then
|
|
echo "If using non-bash-compatible shell, please set LANG in /etc/locale.conf,"
|
|
echo "as LOCALE in /etc/rc.conf no longer works."
|
|
fi
|
|
}
|