Commit 40473c6c authored by Vitaly Lipatov's avatar Vitaly Lipatov

commit packed 3.60.12

parent 9ec3b8ea
...@@ -34,7 +34,7 @@ SHAREDIR=$PROGDIR ...@@ -34,7 +34,7 @@ SHAREDIR=$PROGDIR
# will replaced with /etc/eepm during install # will replaced with /etc/eepm during install
CONFIGDIR=$PROGDIR/../etc CONFIGDIR=$PROGDIR/../etc
EPMVERSION="3.60.11" EPMVERSION="3.60.12"
# package, single (file), pipe, git # package, single (file), pipe, git
EPMMODE="package" EPMMODE="package"
...@@ -14821,7 +14821,7 @@ Options: ...@@ -14821,7 +14821,7 @@ Options:
--allow-mirrors - check mirrors if url is not accessible --allow-mirrors - check mirrors if url is not accessible
--list|--list-only - print only URLs --list|--list-only - print only URLs
--check-url URL L - check if the URL exists (returns HTTP 200 OK) --check-url URL - check if the URL exists (returns HTTP 200 OK)
--check-site URL - check if the site is accessible (returns HTTP 200 OK or 404 Not found) --check-site URL - check if the site is accessible (returns HTTP 200 OK or 404 Not found)
--get-response URL - get response with all headers (ever if HEAD is not acceptable) --get-response URL - get response with all headers (ever if HEAD is not acceptable)
--get-filename URL - print filename for the URL (via Content-Disposition if applicable) --get-filename URL - print filename for the URL (via Content-Disposition if applicable)
...@@ -14840,7 +14840,7 @@ Examples: ...@@ -14840,7 +14840,7 @@ Examples:
$ eget https://github.com/owner/project package*.ext $ eget https://github.com/owner/project package*.ext
$ eget -O myname ipfs://QmVRUjnsnxHWkjq91KreCpUk4D9oZEbMwNQ3rzdjwND5dR $ eget -O myname ipfs://QmVRUjnsnxHWkjq91KreCpUk4D9oZEbMwNQ3rzdjwND5dR
$ eget --list http://ftp.somesite.ru/package-*.tar $ eget --list http://ftp.somesite.ru/package-*.tar
$ eget --check http://ftp.somesite.ru/test $ eget --check-url http://ftp.somesite.ru/test
$ eget --list http://download.somesite.ru 'package-*.tar.xz' $ eget --list http://download.somesite.ru 'package-*.tar.xz'
$ eget --list --latest https://github.com/telegramdesktop/tdesktop/releases 'tsetup.*.tar.xz' $ eget --list --latest https://github.com/telegramdesktop/tdesktop/releases 'tsetup.*.tar.xz'
...@@ -14903,7 +14903,7 @@ while [ -n "$1" ] ; do ...@@ -14903,7 +14903,7 @@ while [ -n "$1" ] ; do
CHECKURL="$1" CHECKURL="$1"
#set_quiet #set_quiet
;; ;;
--check-site) --check-site|--check)
CHECKSITE="$1" CHECKSITE="$1"
#set_quiet #set_quiet
;; ;;
...@@ -15019,13 +15019,13 @@ select_ipfs_mode() ...@@ -15019,13 +15019,13 @@ select_ipfs_mode()
fi fi
# TODO: check checksum # TODO: check checksum
if docmd eget --check "$ipfs_gateway/$ipfs_checkQm" ; then if docmd eget --check-url "$ipfs_gateway/$ipfs_checkQm" ; then
ipfs_mode="gateway" ipfs_mode="gateway"
return return
fi fi
IPFS_GATEWAY='' IPFS_GATEWAY=''
if docmd eget --check "$(dirname $ipfs_gateway)" ; then if docmd eget --check-site "$(dirname $ipfs_gateway)" ; then
info "IPFS gateway $ipfs_gateway is accessible, but can't return shared $ipfs_checkQm" info "IPFS gateway $ipfs_gateway is accessible, but can't return shared $ipfs_checkQm"
else else
info "IPFS gateway $(dirname $ipfs_gateway) is not accessible" info "IPFS gateway $(dirname $ipfs_gateway) is not accessible"
......
...@@ -33,7 +33,7 @@ SHAREDIR=$PROGDIR ...@@ -33,7 +33,7 @@ SHAREDIR=$PROGDIR
# will replaced with /etc/eepm during install # will replaced with /etc/eepm during install
CONFIGDIR=$PROGDIR/../etc CONFIGDIR=$PROGDIR/../etc
EPMVERSION="3.60.11" EPMVERSION="3.60.12"
# package, single (file), pipe, git # package, single (file), pipe, git
EPMMODE="package" EPMMODE="package"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment