From 299e86b0c1401998929b9688b27c60f8aa732754 Mon Sep 17 00:00:00 2001 From: Gambhiro Date: Wed, 20 Jan 2016 15:52:04 +0000 Subject: [PATCH] make sure to include the palettes file --- package-linux.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/package-linux.sh b/package-linux.sh index a72ed72..a3757f2 100755 --- a/package-linux.sh +++ b/package-linux.sh @@ -90,7 +90,8 @@ fi # tar 1.28 required for --exclude-vcs-ignores -# FIXME: somehow it didn't ignore the 'Bin' folder. +# NOTE: ./Data/flam3-palettes.xml has to be explicitly included. The *.xml rule +# would exclude it, and tar doesn't handle "!" rules. tar --exclude='package-linux.sh' \ --exclude='debian' \ @@ -98,7 +99,9 @@ tar --exclude='package-linux.sh' \ --exclude-vcs \ --exclude-vcs-ignores \ --exclude-backups \ - -czf "$PPA_DIR/$TAR_NAME" . + -czf "$PPA_DIR/$TAR_NAME" \ + ./Data/flam3-palettes.xml \ + . [ $? -ne 0 ] && echo "Tar command failed." && exit 2