mirror of
https://github.com/mjl-/mox.git
synced 2025-07-14 18:14:38 +03:00
add subcommand that prints licenses, and link to licenses from the webadmin/webaccount/webmail interfaces
This commit is contained in:
7
genlicenses.sh
Executable file
7
genlicenses.sh
Executable 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
|
Reference in New Issue
Block a user