evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / ze / zed-editor / 0001-generate-licenses.patch
blobb5c804da54591322528958da39bb04fbc849216a
1 diff --git a/script/generate-licenses b/script/generate-licenses
2 index 9602813f0c..d16d11c203 100755
3 --- a/script/generate-licenses
4 +++ b/script/generate-licenses
5 @@ -16,16 +16,9 @@ cat assets/icons/LICENSES >> $OUTPUT_FILE
7 echo -e "# ###### CODE LICENSES ######\n" >> $OUTPUT_FILE
9 -if ! cargo install --list | grep "cargo-about v$CARGO_ABOUT_VERSION" > /dev/null; then
10 - echo "Installing cargo-about@$CARGO_ABOUT_VERSION..."
11 - cargo install "cargo-about@$CARGO_ABOUT_VERSION"
12 -else
13 - echo "cargo-about@$CARGO_ABOUT_VERSION is already installed."
14 -fi
16 echo "Generating cargo licenses"
17 cargo about generate \
18 - --fail \
19 -c script/licenses/zed-licenses.toml \
20 "${TEMPLATE_FILE}" >> $OUTPUT_FILE