appvm,netvm spec: Fix [ -e fstab ] conditional in %pre
This commit is contained in:
parent
6322447d1f
commit
9cf30ed189
@ -44,7 +44,9 @@ The Qubes core files for installation inside a Qubes AppVM.
|
|||||||
%pre
|
%pre
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/var/lib/qubes
|
mkdir -p $RPM_BUILD_ROOT/var/lib/qubes
|
||||||
[ -e $RPM_BUILD_ROOT/etc/fstab ] && mv $RPM_BUILD_ROOT/etc/fstab $RPM_BUILD_ROOT/var/lib/qubes/fstab.orig
|
if [ -e $RPM_BUILD_ROOT/etc/fstab ] ; then
|
||||||
|
mv $RPM_BUILD_ROOT/etc/fstab $RPM_BUILD_ROOT/var/lib/qubes/fstab.orig
|
||||||
|
fi
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make clean all
|
make clean all
|
||||||
|
@ -42,7 +42,10 @@ The Qubes core files for installation inside a Qubes NetVM.
|
|||||||
%pre
|
%pre
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/var/lib/qubes
|
mkdir -p $RPM_BUILD_ROOT/var/lib/qubes
|
||||||
[ -e $RPM_BUILD_ROOT/etc/fstab ] && mv $RPM_BUILD_ROOT/etc/fstab $RPM_BUILD_ROOT/var/lib/qubes/fstab.orig
|
if [ -e $RPM_BUILD_ROOT/etc/fstab ] ; then
|
||||||
|
mv $RPM_BUILD_ROOT/etc/fstab $RPM_BUILD_ROOT/var/lib/qubes/fstab.orig
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user