mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
7 lines
260 B
Text
Executable file
7 lines
260 B
Text
Executable file
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
|
|
}
|