qubes-linux-template-builder/create_apps_templates.sh
Marek Marczykowski 0e6508982d Include templates for all appmenus in package (#266)
Convert it to actual appmenus at rpm installation stage - respecting provided
whitelist.
2011-07-11 20:39:58 +02:00

13 lines
249 B
Bash
Executable File

#!/bin/sh
APPSORIG=$1
APPSTMPL=$2
if [ $# != 2 ]; then
echo "usage $0 <apps_orig_dir> <apps_templ_dir>"
exit 0
fi
rm -f $APPSTMPL/*
mkdir -p $APPSTMPL
find $APPSORIG -name "*.desktop" -exec appmenus/convert_app2template.sh {} $APPSTMPL \;