Skip to content

Commit

Permalink
Remove deprecated licenses (go-gitea#20222)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gusted authored and Sysoev, Vladimir committed Aug 28, 2022
1 parent f2efe2c commit bfe0931
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 120 deletions.
8 changes: 8 additions & 0 deletions build/generate-licenses.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ func main() {

defer util.Remove(file.Name())

if err := os.RemoveAll(destination); err != nil {
log.Fatalf("Cannot clean destination folder: %v", err)
}

if err := os.MkdirAll(destination, 0o755); err != nil {
log.Fatalf("Cannot create destination: %v", err)
}

req, err := http.NewRequest("GET", url, nil)
if err != nil {
log.Fatalf("Failed to download archive. %s", err)
Expand Down
48 changes: 0 additions & 48 deletions options/license/AGPL-1.0

This file was deleted.

27 changes: 0 additions & 27 deletions options/license/BSD-2-Clause-FreeBSD

This file was deleted.

24 changes: 0 additions & 24 deletions options/license/BSD-2-Clause-NetBSD

This file was deleted.

21 changes: 0 additions & 21 deletions options/license/Verbatim-man-pages

This file was deleted.

0 comments on commit bfe0931

Please sign in to comment.