1
0

more licenses

This commit is contained in:
dtb 2023-12-05 21:12:23 -07:00
parent 74f18e34d3
commit 5fc1f07cf5

View File

@ -38,7 +38,27 @@ esac; get_upstream
if test "$LICENSE" = custom || ! test -e "$LICENSES/$LICENSE"
then case "$LICENSE" in
gpl30) curl -o "$LICENSES/$LICENSE" \
'https://www.gnu.org/licenses/gpl-3.0.txt' ;;
*) stream_license >"$LICENSES/$LICENSE" ;;
esac
agpl30) # GNU Affero General Public License 3.0
curl 'https://www.gnu.org/licenses/agpl-3.0.txt' ;;
fdl11) # GNU Free Documentation License 1.1
curl 'https://www.gnu.org/licenses/old-licenses/fdl-1.1.txt' ;;
fdl12) # GNU Free Documentation License 1.2
curl 'https://www.gnu.org/licenses/old-licenses/fdl-1.2.txt' ;;
fdl13) # GNU Free Documentation License 1.3
curl 'https://www.gnu.org/licenses/fdl-1.3.txt' ;;
gpl10) # GNU General Public License 1.0
curl 'https://www.gnu.org/licenses/old-licenses/gpl-1.0.txt' ;;
gpl20) # GNU General Public License 2.0
curl 'https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt' ;;
gpl30) # GNU General Public License 3.0
curl 'https://www.gnu.org/licenses/gpl-3.0.txt' ;;
lgpl20) # GNU Library General Public License 2.0
curl 'https://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt'
;;
lgpl21) # GNU Lesser General Public License 2.1
curl 'https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt'
;;
lgpl30) # GNU Lesser General Public License 3.0
curl 'https://www.gnu.org/licenses/lgpl-3.0.txt' ;;
*) stream_license ;;
esac >"$LICENSES/$LICENSE"