|
|
@ -1,6 +1,6 @@ |
|
|
|
_download_caddy_file() { |
|
|
|
_download_caddy_file() { |
|
|
|
local caddy_tmp="/tmp/install_caddy/" |
|
|
|
caddy_tmp="/tmp/install_caddy/" |
|
|
|
local caddy_tmp_file="/tmp/install_caddy/caddy.tar.gz" |
|
|
|
caddy_tmp_file="/tmp/install_caddy/caddy.tar.gz" |
|
|
|
[[ -d $caddy_tmp ]] && rm -rf $caddy_tmp |
|
|
|
[[ -d $caddy_tmp ]] && rm -rf $caddy_tmp |
|
|
|
if [[ $sys_bit == "i386" || $sys_bit == "i686" ]]; then |
|
|
|
if [[ $sys_bit == "i386" || $sys_bit == "i686" ]]; then |
|
|
|
local caddy_download_link="https://caddyserver.com/download/linux/386?license=personal" |
|
|
|
local caddy_download_link="https://caddyserver.com/download/linux/386?license=personal" |
|
|
|