[Glibc-bsd-commits] r3933 - trunk/freebsd-utils/debian
Robert Millan
rmh at alioth.debian.org
Wed Dec 7 11:42:20 UTC 2011
Author: rmh
Date: 2011-12-07 11:42:20 +0000 (Wed, 07 Dec 2011)
New Revision: 3933
Modified:
trunk/freebsd-utils/debian/changelog
trunk/freebsd-utils/debian/kbdcontrol.postinst
Log:
kbdcontrol.postinst: Only attempt to transition /etc/inittab to xterm when this file exists.
Modified: trunk/freebsd-utils/debian/changelog
===================================================================
--- trunk/freebsd-utils/debian/changelog 2011-12-06 08:07:48 UTC (rev 3932)
+++ trunk/freebsd-utils/debian/changelog 2011-12-07 11:42:20 UTC (rev 3933)
@@ -1,8 +1,10 @@
freebsd-utils (8.2+ds3-2) UNRELEASED; urgency=low
+ * kbdcontrol.postinst: Only attempt to transition /etc/inittab to
+ xterm when this file exists.
* Add Danish translation by Joe Dalton. (Closes: #650853)
- -- Robert Millan <rmh at debian.org> Sun, 04 Dec 2011 11:41:27 +0100
+ -- Robert Millan <rmh at debian.org> Wed, 07 Dec 2011 12:42:04 +0100
freebsd-utils (8.2+ds3-1) unstable; urgency=low
Modified: trunk/freebsd-utils/debian/kbdcontrol.postinst
===================================================================
--- trunk/freebsd-utils/debian/kbdcontrol.postinst 2011-12-06 08:07:48 UTC (rev 3932)
+++ trunk/freebsd-utils/debian/kbdcontrol.postinst 2011-12-07 11:42:20 UTC (rev 3933)
@@ -21,7 +21,9 @@
fi
# TEKEN_XTERM transition
- sed -i /etc/inittab -e "s/cons25$/xterm/"
+ if test -e /etc/inittab ; then
+ sed -i /etc/inittab -e "s/cons25$/xterm/"
+ fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
More information about the Glibc-bsd-commits
mailing list