diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-03 19:06:58 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-03 19:06:58 +0200 |
commit | 04a683a66c01947142c1d26cdf9330ce1645e62a (patch) | |
tree | 99dadd62f6ecaa26cb48f3eab0b8cbac56041112 /common | |
parent | fix(templates/latex/academia): Also use the init variables in the title (diff) | |
download | flake-templates-04a683a66c01947142c1d26cdf9330ce1645e62a.tar.gz flake-templates-04a683a66c01947142c1d26cdf9330ce1645e62a.zip |
fix(common/init): Actually ask the user for the license ident
Diffstat (limited to 'common')
-rw-r--r-- | common/init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/init b/common/init index bcfc0fc..1ea1603 100644 --- a/common/init +++ b/common/init @@ -94,7 +94,7 @@ if [ -e ./lpm.toml ]; then else init_default_license="AGPL-3.0-or-later" fi -prompt SPDX_LICENSE_IDENTIFIER "THE SPDX identifer of your choosen license" "$init_default_license" "dont_ask" +prompt SPDX_LICENSE_IDENTIFIER "THE SPDX identifer of your choosen license" "$init_default_license" default_license_url="$(curl --silent --show-error "https://spdx.org/licenses/$SPDX_LICENSE_IDENTIFIER.json" | jq --raw-output '.seeAlso[0]')" |