add subcommand that prints licenses, and link to licenses from the webadmin/webaccount/webmail interfaces

This commit is contained in:
Mechiel Lukkien
2024-10-04 09:31:31 +02:00
parent 7d3f307156
commit 8f7fc3773b
57 changed files with 1844 additions and 4 deletions

7
genlicenses.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
rm -r licenses
set -e
for p in $(cd vendor && find . -iname '*license*' -or -iname '*licence*' -or -iname '*notice*' -or -iname '*patent*'); do
(set +e; mkdir -p $(dirname licenses/$p))
cp vendor/$p licenses/$p
done