13
0

do not strip appname from color theme files

This commit is contained in:
Paul Davis 2016-05-31 15:25:18 -04:00
parent 257f1bf7df
commit 23769a38f1
2 changed files with 5 additions and 8 deletions

View File

@ -597,13 +597,11 @@ cp -r ../../gtk2_ardour/icons/icons/cursor_* ${Shared}/icons/
cp ../../gtk2_ardour/ArdourMono.ttf $Shared
cp ../../gtk2_ardour/resources/${APPNAME}-* ${Shared}/resources/
# Themes. Grab only the ones for this program
# Themes: only install those named for this app
lower_case_appname=`echo $APPNAME | tr '[:upper:]' '[:lower:]'`
for colors in `echo ../../gtk2_ardour/themes/*-${lower_case_appname}.colors`
do
install_name=`echo $colors | sed "s/-$lower_case_appname//"`
install_name=`basename $install_name`
cp $colors $Themes/$install_name
cp `basename $colors` $Themes
done
#

View File

@ -492,13 +492,12 @@ cp -r ../../gtk2_ardour/icons/cursor_* ${Resources}/icons/
cp ../../gtk2_ardour/ArdourMono.ttf $Shared
cp ../../gtk2_ardour/resources/${PRODUCT_PKG_DIR}-* ${Resources}/resources/
# Themes. Grab only the ones for this program
# Themes: only install those named for this app
lower_case_appname=`echo $APPNAME | tr '[:upper:]' '[:lower:]'`
for colors in `echo ../../gtk2_ardour/themes/*-${lower_case_appname}.colors`
do
install_name=`echo $colors | sed "s/-$lower_case_appname//"`
install_name=`basename $install_name`
cp $colors $Themes/$install_name
cp `basename $colors` $Themes
done