vm/spec: do not complain about missing serial.conf

This commit is contained in:
Marek Marczykowski 2012-01-30 14:22:35 +01:00
parent ad75f3c99e
commit 31fd953377

View File

@ -241,7 +241,7 @@ if [ "$1" != 1 ] ; then
exit 0
fi
if ! [ -f /var/lib/qubes/serial.orig ] ; then
if [ -e /etc/init/serial.conf ] && ! [ -f /var/lib/qubes/serial.orig ] ; then
cp /etc/init/serial.conf /var/lib/qubes/serial.orig
fi