spec: create 'qubes' group is not exists

This group can be created also by qubes-core-dom0 package, but add
relevant code also here to simplify dependencies.
This commit is contained in:
Marek Marczykowski 2013-03-25 16:21:43 +01:00
parent 158bfff3cf
commit 0f384aacd9

View File

@ -143,6 +143,11 @@ done
### Documentation ### Documentation
(cd doc; make DESTDIR=$RPM_BUILD_ROOT install) (cd doc; make DESTDIR=$RPM_BUILD_ROOT install)
%pre
if ! grep -q ^qubes: /etc/group ; then
groupadd qubes
fi
%post %post
for i in /usr/share/qubes/icons/*.png ; do for i in /usr/share/qubes/icons/*.png ; do