From 00e0d3bb1ea69a7df304c636087fb24067cb6c2d Mon Sep 17 00:00:00 2001 From: Bart van Strien Date: Thu, 7 Sep 2017 15:34:08 +0200 Subject: [PATCH] Add license.txt to tarball if found --- tarball/build.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tarball/build.sh b/tarball/build.sh index 1cfa46c..d5de766 100755 --- a/tarball/build.sh +++ b/tarball/build.sh @@ -79,6 +79,13 @@ main() # Add our icon and prototype desktop file cp "$appname.desktop.in" "$DEST" cp "$appname.svg" "$DEST" + + # And the license file, if it exists + if test -f "license.txt"; then + cp "license.txt" "$DEST" + else + echo "No license.txt file found, skipping" + fi } main love