Skip to content

Commit

Permalink
"Wget" snowblock (#270)
Browse files Browse the repository at this point in the history
Created a new snowblock for Wget [1], the standard Unix tool for
retrieving files using HTTP, HTTPS, FTP and FTPS the most widely-used
Internet protocols.

Initially it provides the main `wgetrc` configuration file [2].
The location of the file can be set through the `WGETRC` environment
variable.

[1]: https://www.gnu.org/software/wget
[2]: https://www.gnu.org/software/wget/manual/html_node/Startup-File.html

Closes GH-269

Co-authored-by: Sven Greb <development@svengreb.de>
  • Loading branch information
arcticicestudio and svengreb authored May 5, 2020
1 parent 311fd27 commit b602239
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
13 changes: 13 additions & 0 deletions snowblocks/wget/snowblock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[
{
"clean": ["$IGLOO_PATH_USER_CONFIG/wget"]
},
{
"link": {
"$IGLOO_PATH_USER_CONFIG/wget/wgetrc": {
"create": true,
"path": "wgetrc"
}
}
}
]
15 changes: 15 additions & 0 deletions snowblocks/wget/wgetrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright (c) 2016-present Arctic Ice Studio <development@arcticicestudio.com>
# Copyright (c) 2016-present Sven Greb <development@svengreb.de>

# Project: igloo
# Repository: https://github.com/arcticicestudio/igloo
# License: MIT

# Configuration for wget.
# Run `wget --help` to get a list of all possible configuration options.
# See:
# 1. https://www.gnu.org/software/wget/manual/html_node/Startup-File.html

# Disable the storage of the usage history.
hsts = 0
hsts-file =

0 comments on commit b602239

Please sign in to comment.