From ab155c1d1f0696e681593ae66b23c59848add00c Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 24 Nov 2017 11:48:42 +0100 Subject: buff-di-wuff: put download list into git directory --- .gitignore | 1 + buff-di-wuff | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..568d945 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +downloads.list diff --git a/buff-di-wuff b/buff-di-wuff index 35f5f3a..5376bd6 100755 --- a/buff-di-wuff +++ b/buff-di-wuff @@ -6,7 +6,7 @@ cache_dir='/srv/arch-mirror/sources.archlinux32' mkdir -p "${cache_dir}" -grep '^[^#]' '/etc/buff-di-wuff.list' | \ +grep '^[^#]' "$(dirname "$0")/downloads.list" | \ while read -r url; do if echo "${url}" | \ grep -q '\*[^/]*$'; then -- cgit v1.2.3-54-g00ecf