dom0/appmenus: Rename dir entry for ServiceVMs (#627)
This commit is contained in:
parent
6c74db3aac
commit
d9291ab2b4
@ -45,10 +45,13 @@ if [ "$SRCDIR" != "none" ]; then
|
|||||||
/usr/lib/qubes/convert_apptemplate2vm.sh /usr/share/qubes/qubes-appmenu-select.desktop $APPSDIR $VMNAME $VMDIR
|
/usr/lib/qubes/convert_apptemplate2vm.sh /usr/share/qubes/qubes-appmenu-select.desktop $APPSDIR $VMNAME $VMDIR
|
||||||
|
|
||||||
if [ "$VMTYPE" = "vm-templates" ]; then
|
if [ "$VMTYPE" = "vm-templates" ]; then
|
||||||
/usr/lib/qubes/convert_dirtemplate2vm.sh /usr/share/qubes/qubes-templatevm.directory.template $APPSDIR/$VMNAME-vm.directory $VMNAME $VMDIR
|
DIR_TEMPLATE=/usr/share/qubes/qubes-templatevm.directory.template
|
||||||
|
elif [ "$VMTYPE" = "servicevms" ]; then
|
||||||
|
DIR_TEMPLATE=/usr/share/qubes/qubes-servicevm.directory.template
|
||||||
else
|
else
|
||||||
/usr/lib/qubes/convert_dirtemplate2vm.sh /usr/share/qubes/qubes-vm.directory.template $APPSDIR/$VMNAME-vm.directory $VMNAME $VMDIR
|
DIR_TEMPLATE=/usr/share/qubes/qubes-vm.directory.template
|
||||||
fi
|
fi
|
||||||
|
/usr/lib/qubes/convert_dirtemplate2vm.sh $DIR_TEMPLATE $APPSDIR/$VMNAME-vm.directory $VMNAME $VMDIR
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "--> Adding Apps to the Menu..."
|
echo "--> Adding Apps to the Menu..."
|
||||||
|
5
dom0/misc/qubes-servicevm.directory.template
Normal file
5
dom0/misc/qubes-servicevm.directory.template
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Type=Directory
|
||||||
|
Name=ServiceVM: %VMNAME%
|
||||||
|
Icon=%VMDIR%/icon.png
|
@ -155,6 +155,7 @@ mkdir -p $RPM_BUILD_ROOT/usr/share/qubes/icons
|
|||||||
cp icons/*.png $RPM_BUILD_ROOT/usr/share/qubes/icons
|
cp icons/*.png $RPM_BUILD_ROOT/usr/share/qubes/icons
|
||||||
cp misc/qubes-vm.directory.template $RPM_BUILD_ROOT/usr/share/qubes/
|
cp misc/qubes-vm.directory.template $RPM_BUILD_ROOT/usr/share/qubes/
|
||||||
cp misc/qubes-templatevm.directory.template $RPM_BUILD_ROOT/usr/share/qubes/
|
cp misc/qubes-templatevm.directory.template $RPM_BUILD_ROOT/usr/share/qubes/
|
||||||
|
cp misc/qubes-servicevm.directory.template $RPM_BUILD_ROOT/usr/share/qubes/
|
||||||
cp misc/qubes-dispvm.directory $RPM_BUILD_ROOT/usr/share/qubes/
|
cp misc/qubes-dispvm.directory $RPM_BUILD_ROOT/usr/share/qubes/
|
||||||
cp misc/qubes-dispvm-firefox.desktop $RPM_BUILD_ROOT/usr/share/qubes/
|
cp misc/qubes-dispvm-firefox.desktop $RPM_BUILD_ROOT/usr/share/qubes/
|
||||||
cp misc/qubes-appmenu-select.desktop $RPM_BUILD_ROOT/usr/share/qubes/
|
cp misc/qubes-appmenu-select.desktop $RPM_BUILD_ROOT/usr/share/qubes/
|
||||||
@ -365,6 +366,7 @@ fi
|
|||||||
/usr/share/qubes/icons/*.png
|
/usr/share/qubes/icons/*.png
|
||||||
/usr/share/qubes/qubes-vm.directory.template
|
/usr/share/qubes/qubes-vm.directory.template
|
||||||
/usr/share/qubes/qubes-templatevm.directory.template
|
/usr/share/qubes/qubes-templatevm.directory.template
|
||||||
|
/usr/share/qubes/qubes-servicevm.directory.template
|
||||||
/usr/share/qubes/qubes-dispvm.directory
|
/usr/share/qubes/qubes-dispvm.directory
|
||||||
/usr/share/qubes/qubes-dispvm-firefox.desktop
|
/usr/share/qubes/qubes-dispvm-firefox.desktop
|
||||||
/usr/share/qubes/qubes-appmenu-select.desktop
|
/usr/share/qubes/qubes-appmenu-select.desktop
|
||||||
|
Loading…
Reference in New Issue
Block a user