summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-06-29 15:16:21 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-06-29 15:17:20 -0400
commit139094b4568f8d465b79126615ba8999594f8385 (patch)
tree844456423ceb1afda159a7e15ad7686427ba625d /tools
parentff5f05bd99a4aaf107f119dd887ef04b17bd5445 (diff)
fix color file install paths
We are supposed to remove the application name after copying
Diffstat (limited to 'tools')
-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