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 85e6704037
commit f3e187f672

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