Skip to content

Commit 353a533

Browse files
author
Gusted
authored
Remove deprecated licenses (#20222)
1 parent 7854c44 commit 353a533

File tree

5 files changed

+8
-120
lines changed

5 files changed

+8
-120
lines changed

build/generate-licenses.go

+8
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@ func main() {
3939

4040
defer util.Remove(file.Name())
4141

42+
if err := os.RemoveAll(destination); err != nil {
43+
log.Fatalf("Cannot clean destination folder: %v", err)
44+
}
45+
46+
if err := os.MkdirAll(destination, 0o755); err != nil {
47+
log.Fatalf("Cannot create destination: %v", err)
48+
}
49+
4250
req, err := http.NewRequest("GET", url, nil)
4351
if err != nil {
4452
log.Fatalf("Failed to download archive. %s", err)

options/license/AGPL-1.0

-48
This file was deleted.

options/license/BSD-2-Clause-FreeBSD

-27
This file was deleted.

options/license/BSD-2-Clause-NetBSD

-24
This file was deleted.

options/license/Verbatim-man-pages

-21
This file was deleted.

0 commit comments

Comments
 (0)