rpm: do not fail on non-existing /etc/init/serial.conf
This file is obsolete for a long time, so use it only if found in the system (perhaps still useful in other distros).
This commit is contained in:
parent
66b5d686f5
commit
c647862fc0
@ -100,7 +100,9 @@ adduser --create-home user
|
|||||||
make install-vm DESTDIR=$RPM_BUILD_ROOT
|
make install-vm DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
%triggerin -- initscripts
|
%triggerin -- initscripts
|
||||||
cp /usr/lib/qubes/serial.conf /etc/init/serial.conf
|
if [ -e /etc/init/serial.conf ]; then
|
||||||
|
cp /usr/lib/qubes/serial.conf /etc/init/serial.conf
|
||||||
|
fi
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user