summaryrefslogtreecommitdiff
path: root/licenses/04-download-gnu-licenses.sh
blob: 6052c800ce1a1b0babf78eb1a453873303e1b68d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

licenses=("old-licenses/fdl-1.1.html" \
	"old-licenses/fdl-1.2.html" \
	"fdl-1.3.html")

# Remove log file if exists
rm -f wget-gnu.log

# Download license file for each license type
for license in "${licenses[@]}"
do
    echo $license
	wget --adjust-extension --page-requisites --no-clobber --no-verbose http://www.gnu.org/licenses/$license --append-output=wget-gnu.log
done