diff --git a/abuild.in b/abuild.in index 7f31dbe..dae99b3 100644 --- a/abuild.in +++ b/abuild.in @@ -296,15 +296,11 @@ sourcecheck() { for uri in $source; do is_remote $uri || continue case "$uri" in - saveas-*://*) - uri=${uri#saveas-} - uri=${uri%/*} - ;; *::*) uri=${uri##*::} ;; esac - wget -q -s "$uri" || return 1 + wget --spider -q "$uri" || return 1 done return 0 } @@ -318,7 +314,7 @@ uri_fetch() { is_remote() { case "${1#*::}" in - http://*|ftp://*|https://*|saveas-*://*) + http://*|ftp://*|https://*) return 0;; esac return 1