summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/linux_packaging/build7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build
index a136a2d9b4..97521b9558 100755
--- a/tools/linux_packaging/build
+++ b/tools/linux_packaging/build
@@ -599,7 +599,12 @@ cp ../../gtk2_ardour/resources/${APPNAME}-* ${Shared}/resources/
# Themes: only install those named for this app
lower_case_appname=`echo $APPNAME | tr '[:upper:]' '[:lower:]'`
-cp `echo ../../gtk2_ardour/themes/*-${lower_case_appname}.colors` $Themes
+for colorfile in `echo ../../gtk2_ardour/themes/*-${lower_case_appname}.colors`
+do
+ cf=`basename $colorfile`
+ cf=`echo $cf | sed -e "s/-${lower_case_appname}//"`
+ cp $colorfile $Themes/$cf
+done
#
# put sooper sekrit ingredients here and they will be copied