appmenus: choose whitelists basing on distribution version

This commit is contained in:
Marek Marczykowski 2012-06-22 21:12:57 +02:00
parent 64e6b25843
commit 019c81e8ec
6 changed files with 10 additions and 2 deletions

View File

@ -9,4 +9,4 @@ fi
rm -f $APPSTMPL/* rm -f $APPSTMPL/*
mkdir -p $APPSTMPL mkdir -p $APPSTMPL
find $APPSORIG -name "*.desktop" -exec appmenus/convert_app2template.sh {} $APPSTMPL \; find $APPSORIG -name "*.desktop" -exec ./convert_app2template.sh {} $APPSTMPL \;

View File

@ -48,9 +48,17 @@ APPSTEMPL=qubeized_images/$NAME-apps.templates
mkdir -p $APPSORIG mkdir -p $APPSORIG
cp -r $(pwd)/mnt/usr/share/applications/* $APPSORIG cp -r $(pwd)/mnt/usr/share/applications/* $APPSORIG
echo "--> Createing the Apps Menu templates..." echo "--> Creating the Apps Menu templates..."
./create_apps_templates.sh $APPSORIG $APPSTEMPL ./create_apps_templates.sh $APPSORIG $APPSTEMPL
echo "--> Choosing appmenus whitelists..."
rm -f appmenus
if [ -d "appmenus_$DIST" ]; then
ln -s "appmenus_$DIST" appmenus
else
ln -s "appmenus_generic" appmenus
fi
echo "--> Installing 3rd party apps" echo "--> Installing 3rd party apps"
./add_3rd_party_software.sh ./add_3rd_party_software.sh