0e6508982d
Convert it to actual appmenus at rpm installation stage - respecting provided whitelist.
13 lines
249 B
Bash
Executable File
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 \;
|