b5e395d385
(c) 2010 Invisible Things Lab Authors: ========= Joanna Rutkowska <joanna@invisiblethingslab.com> Rafal Wojtczuk <rafal@invisiblethingslab.com>
16 lines
396 B
Bash
Executable File
16 lines
396 B
Bash
Executable File
#!/bin/sh
|
|
SRCDIR=$1
|
|
VMNAME=$2
|
|
VMDIR=$3
|
|
APPSDIR=$4
|
|
|
|
if [ $# != 4 ]; then
|
|
echo "usage: $0 <apps_templates_dir> <vmname> <vmdir> <apps_dir>"
|
|
exit
|
|
fi
|
|
mkdir -p $APPSDIR
|
|
|
|
find $SRCDIR -name "*.desktop" -exec appmenus/convert_apptemplate2vm.sh {} $APPSDIR $VMNAME $VMDIR \;
|
|
|
|
appmenus/convert_dirtemplate2vm.sh appmenus/qubes-netvm.directory.template $APPSDIR/$VMNAME-vm.directory $VMNAME $VMDIR
|