Add workaround for bug in qvm-sync-appmenus

qvm-sync-appmenus did not regenerated appmenus for the template itself,
only dependent VMs. Do it manually here. When used with fixed
qvm-sync-appmenus this will regenerate the appmenus twice, which should
be harmless.

This commit should be reverted when new qvm-sync-appmenus got released
and appropriate Require line added here.
This commit is contained in:
Marek Marczykowski-Górecki 2015-03-11 07:26:29 +01:00
parent 94f944b81c
commit efd762ec06

View File

@ -111,6 +111,8 @@ else
chgrp -R qubes %{dest_dir} chgrp -R qubes %{dest_dir}
chmod g+rwX -R %{dest_dir} chmod g+rwX -R %{dest_dir}
fi fi
/usr/libexec/qubes-appmenus/create-apps-for-appvm.sh %{dest_dir}/apps.templates %{template_name} vm-templates
exit 0
%preun %preun
if [ "$1" = 0 ] ; then if [ "$1" = 0 ] ; then