Include LICENSE and DEPENDENCIES [inventory] files in official packages. Fixes #5577

Whilst passing, rename libraries.txt to DEPENDENCIES and update the list of static packages.
This commit is contained in:
Dave Page
2020-07-17 17:06:16 +01:00
parent 2bfb7c20c8
commit 04ce8b2c71
8 changed files with 30 additions and 11 deletions

View File

@@ -218,6 +218,10 @@ EOF
echo " 'ppas': ''" >> config_distro.py
echo "}" >> config_distro.py
# License files
cp -r ${SOURCE_DIR}/LICENCE "${BUNDLE_DIR}/Contents/"
cp -r ${SOURCE_DIR}/DEPENDENCIES "${BUNDLE_DIR}/Contents/"
# Remove the .pyc files if any
find "${BUNDLE_DIR}" -name "*.pyc" -print0 | xargs -0 rm -f
}