diff options
author | Stefan Husmann | 2015-06-09 00:54:28 +0200 |
---|---|---|
committer | Stefan Husmann | 2015-06-09 00:54:28 +0200 |
commit | 5bbf16f6892e8f068c32adcad1b6a9b1aa3eaf22 (patch) | |
tree | cbdfe666232f5cbeb875381018be0a8c9a50a831 /links.diff | |
download | aur-5bbf16f6892e8f068c32adcad1b6a9b1aa3eaf22.tar.gz |
initial version
Diffstat (limited to 'links.diff')
-rw-r--r-- | links.diff | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/links.diff b/links.diff new file mode 100644 index 000000000000..350d0ed5f1d2 --- /dev/null +++ b/links.diff @@ -0,0 +1,26 @@ +--- ../../not_maintained_by_me/w3watch/src/w3watch-1.0.3/w3watch 2012-09-15 10:51:19.000000000 +0200 ++++ /usr/local/bin/w3watch 2014-07-08 14:34:53.943896760 +0200 +@@ -6,7 +6,7 @@ + LOCKFILE="${ROOTDIR}/lock" + CONFIGFILE="${ROOTDIR}/config" + CONFIGSAMPLE='/usr/share/doc/w3watch/config.sample' +-LYNX='/usr/bin/lynx --connect_timeout 10 --read_timeout 10 -stderr' ++LYNX='/usr/bin/links -receive-timeout 10 -unrestartable-receive-timeout 10' + + if [ ! -d "${ROOTDIR}" ]; then + install -D "${CONFIGSAMPLE}" "${CONFIGFILE}" +@@ -64,11 +64,12 @@ + url="$(echo "${url}" | cut -c 1 --complement -)" + dump=$($LYNX -source "$url") + else +- dump=$($LYNX -dump -nonumbers "$url") ++ dump=$($LYNX -dump "$url") + fi + + if [ $? -ne 0 ]; then +- continue ++ echo $url ++ continue + fi + + if [ "${filter}" != "" ]; then |