From 139094b4568f8d465b79126615ba8999594f8385 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 29 Jun 2016 15:16:21 -0400 Subject: fix color file install paths We are supposed to remove the application name after copying --- tools/linux_packaging/build | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tools') 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 -- cgit v1.2.3