File manager - Edit - /home/web/.nvm/test/install_script/nvm_download
Back
#!/bin/sh cleanup () { unset -f die cleanup } die () { echo "$@" ; cleanup ; exit 1; } NVM_ENV=testing \. ../../install.sh # nvm_download install.sh nvm_download "https://raw.githubusercontent.com/nvm-sh/nvm/HEAD/install.sh" >/dev/null || die "nvm_download unable to download install.sh" # nvm_download should fail to download wrong_install.sh if nvm_download "https://raw.githubusercontent.com/nvm-sh/nvm/HEAD/wrong_install.sh" &>/dev/null; then die "nvm_download should fail to download no existing file" fi cleanup
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.26 |
proxy
|
phpinfo
|
Settings