add -L to curl
Bu işleme şunda yer alıyor:
ebeveyn
2adfec1fd6
işleme
4090196e84
@ -23,7 +23,7 @@ INSTALL_FILE="node.setup.bash"
|
|||||||
if [ ! -e "/tmp/${INSTALL_FILE}" ]
|
if [ ! -e "/tmp/${INSTALL_FILE}" ]
|
||||||
then
|
then
|
||||||
if [ -n "$(which curl)" ]; then
|
if [ -n "$(which curl)" ]; then
|
||||||
curl --silent "${BASE_URL}/${INSTALL_FILE_REMOTE}" \
|
curl --silent -L "${BASE_URL}/${INSTALL_FILE_REMOTE}" \
|
||||||
-o "/tmp/${INSTALL_FILE}" || echo 'error setup script: '"${BASE_URL}/${INSTALL_FILE_REMOTE}"
|
-o "/tmp/${INSTALL_FILE}" || echo 'error setup script: '"${BASE_URL}/${INSTALL_FILE_REMOTE}"
|
||||||
elif [ -n "$(which wget)" ]; then
|
elif [ -n "$(which wget)" ]; then
|
||||||
wget --quiet "${BASE_URL}/${INSTALL_FILE_REMOTE}" \
|
wget --quiet "${BASE_URL}/${INSTALL_FILE_REMOTE}" \
|
||||||
|
|||||||
Yükleniyor…
x
Yeni konuda referans
Bir kullanıcı engelle