diff --git a/ct/commafeed.sh b/ct/commafeed.sh index 7ac99e0a4..88fd9ba98 100644 --- a/ct/commafeed.sh +++ b/ct/commafeed.sh @@ -27,7 +27,7 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi - RELEASE=$(curl -fsSLL https://api.github.com/repos/Athou/commafeed/releases/latest | grep '"tag_name":' | cut -d'"' -f4) + RELEASE=$(curl -fsSL https://api.github.com/repos/Athou/commafeed/releases/latest | grep '"tag_name":' | cut -d'"' -f4) if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then msg_info "Stopping ${APP}" systemctl stop commafeed @@ -35,9 +35,9 @@ function update_script() { msg_info "Updating ${APP} to ${RELEASE}" curl -fsSL "https://github.com/Athou/commafeed/releases/download/${RELEASE}/commafeed-${RELEASE}-h2-jvm.zip" -o $(basename "https://github.com/Athou/commafeed/releases/download/${RELEASE}/commafeed-${RELEASE}-h2-jvm.zip") - unzip -q commafeed-${RELEASE}-h2-jvm.zip - rsync -a --exclude 'data/' commafeed-${RELEASE}-h2/ /opt/commafeed/ - rm -rf commafeed-${RELEASE}-h2 commafeed-${RELEASE}-h2-jvm.zip + unzip -q commafeed-"${RELEASE}"-h2-jvm.zip + rsync -a --exclude 'data/' commafeed-"${RELEASE}"-h2/ /opt/commafeed/ + rm -rf commafeed-"${RELEASE}"-h2 commafeed-"${RELEASE}"-h2-jvm.zip echo "${RELEASE}" >/opt/${APP}_version.txt msg_ok "Updated ${APP} to ${RELEASE}" diff --git a/ct/cronicle.sh b/ct/cronicle.sh index c88515dfc..8499b7ede 100644 --- a/ct/cronicle.sh +++ b/ct/cronicle.sh @@ -53,7 +53,7 @@ function update_script() { echo "Installed NPM..." fi fi - LATEST=$(curl -fsSLL https://api.github.com/repos/jhuckaby/Cronicle/releases/latest | grep '"tag_name":' | cut -d'"' -f4) + LATEST=$(curl -fsSL https://api.github.com/repos/jhuckaby/Cronicle/releases/latest | grep '"tag_name":' | cut -d'"' -f4) IP=$(hostname -I | awk '{print $1}') msg_info "Installing Dependencies" @@ -100,4 +100,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3012${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3012${CL}" diff --git a/ct/dashy.sh b/ct/dashy.sh index 24da251a7..9b1bae537 100644 --- a/ct/dashy.sh +++ b/ct/dashy.sh @@ -28,7 +28,7 @@ function update_script() { exit fi - RELEASE=$(curl -fsSLL https://api.github.com/repos/Lissy93/dashy/releases/latest | grep '"tag_name":' | cut -d'"' -f4) + RELEASE=$(curl -fsSL https://api.github.com/repos/Lissy93/dashy/releases/latest | grep '"tag_name":' | cut -d'"' -f4) if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}_version.txt ]]; then msg_info "Stopping ${APP}" systemctl stop dashy @@ -46,7 +46,7 @@ function update_script() { msg_info "Updating ${APP} to ${RELEASE}" rm -rf /opt/dashy mkdir -p /opt/dashy -curl -fsSL "https://github.com/Lissy93/dashy/archive/refs/tags/${RELEASE}.tar.gz" | tar -xz -C /opt/dashy --strip-components=1 + curl -fsSL "https://github.com/Lissy93/dashy/archive/refs/tags/${RELEASE}.tar.gz" | tar -xz -C /opt/dashy --strip-components=1 cd /opt/dashy npm install npm run build @@ -79,4 +79,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:4000${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:4000${CL}" diff --git a/ct/emby.sh b/ct/emby.sh index 33474fe6f..e9c61d288 100644 --- a/ct/emby.sh +++ b/ct/emby.sh @@ -27,7 +27,7 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi - LATEST=$(curl -fsSLL https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/latest | grep '"tag_name":' | cut -d'"' -f4) + LATEST=$(curl -fsSL https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/latest | grep '"tag_name":' | cut -d'"' -f4) msg_info "Stopping ${APP}" systemctl stop emby-server msg_ok "Stopped ${APP}" diff --git a/ct/ombi.sh b/ct/ombi.sh index 359f5fe8c..210e06aa0 100644 --- a/ct/ombi.sh +++ b/ct/ombi.sh @@ -27,7 +27,7 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi - RELEASE=$(curl -fsSLL https://api.github.com/repos/Ombi-app/Ombi/releases/latest | grep '"tag_name":' | cut -d'"' -f4) + RELEASE=$(curl -fsSL https://api.github.com/repos/Ombi-app/Ombi/releases/latest | grep '"tag_name":' | cut -d'"' -f4) if [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]] || [[ ! -f /opt/${APP}_version.txt ]]; then msg_info "Stopping ${APP}" systemctl stop ombi diff --git a/ct/openobserve.sh b/ct/openobserve.sh index d702c194b..4b8739d24 100644 --- a/ct/openobserve.sh +++ b/ct/openobserve.sh @@ -29,7 +29,7 @@ function update_script() { fi msg_info "Updating $APP" systemctl stop openobserve - LATEST=$(curl -fsSLL https://api.github.com/repos/openobserve/openobserve/releases/latest | grep '"tag_name":' | cut -d'"' -f4) + LATEST=$(curl -fsSL https://api.github.com/repos/openobserve/openobserve/releases/latest | grep '"tag_name":' | cut -d'"' -f4) tar zxvf <(curl -fsSL https://github.com/openobserve/openobserve/releases/download/$LATEST/openobserve-${LATEST}-linux-amd64.tar.gz) -C /opt/openobserve systemctl start openobserve msg_ok "Updated $APP" @@ -43,4 +43,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:5080${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:5080${CL}" diff --git a/ct/peanut.sh b/ct/peanut.sh index 755a466d1..567c1d08e 100644 --- a/ct/peanut.sh +++ b/ct/peanut.sh @@ -27,11 +27,11 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi - RELEASE=$(curl -fsSLL https://api.github.com/repos/Brandawg93/PeaNUT/releases/latest | grep '"tag_name":' | cut -d'"' -f4) + RELEASE=$(curl -fsSL https://api.github.com/repos/Brandawg93/PeaNUT/releases/latest | grep '"tag_name":' | cut -d'"' -f4) if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then msg_info "Updating $APP to ${RELEASE}" systemctl stop peanut -curl -fsSL "https://api.github.com/repos/Brandawg93/PeaNUT/tarball/${RELEASE}" -o "peanut.tar.gz" + curl -fsSL "https://api.github.com/repos/Brandawg93/PeaNUT/tarball/${RELEASE}" -o "peanut.tar.gz" tar -xzf peanut.tar.gz -C /opt/peanut --strip-components 1 rm peanut.tar.gz cd /opt/peanut @@ -56,4 +56,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3000${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3000${CL}" diff --git a/ct/uptimekuma.sh b/ct/uptimekuma.sh index 903a8d2cc..93d556949 100644 --- a/ct/uptimekuma.sh +++ b/ct/uptimekuma.sh @@ -34,7 +34,7 @@ function update_script() { echo "Installed NPM..." fi fi - LATEST=$(curl -fsSLL https://api.github.com/repos/louislam/uptime-kuma/releases/latest | grep '"tag_name":' | cut -d'"' -f4) + LATEST=$(curl -fsSL https://api.github.com/repos/louislam/uptime-kuma/releases/latest | grep '"tag_name":' | cut -d'"' -f4) msg_info "Stopping ${APP}" $STD sudo systemctl stop uptime-kuma msg_ok "Stopped ${APP}" @@ -65,4 +65,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3001${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3001${CL}" diff --git a/install/alpine-docker-install.sh b/install/alpine-docker-install.sh index 395816196..97dbfb753 100644 --- a/install/alpine-docker-install.sh +++ b/install/alpine-docker-install.sh @@ -29,7 +29,7 @@ $STD rc-update add docker default msg_ok "Installed Docker" get_latest_release() { - curl -fsSLL https://api.github.com/repos/$1/releases/latest | grep '"tag_name":' | cut -d'"' -f4 + curl -fsSL https://api.github.com/repos/$1/releases/latest | grep '"tag_name":' | cut -d'"' -f4 } PORTAINER_LATEST_VERSION=$(get_latest_release "portainer/portainer") DOCKER_COMPOSE_LATEST_VERSION=$(get_latest_release "docker/compose") diff --git a/install/apache-guacamole-install.sh b/install/apache-guacamole-install.sh index 4b2248a14..082d649b7 100644 --- a/install/apache-guacamole-install.sh +++ b/install/apache-guacamole-install.sh @@ -52,7 +52,7 @@ msg_ok "Setup Apache Tomcat" msg_info "Setup Apache Guacamole" mkdir -p /etc/guacamole/{extensions,lib} -RELEASE_SERVER=$(curl -fsSLL https://api.github.com/repos/apache/guacamole-server/tags | jq -r '.[0].name') +RELEASE_SERVER=$(curl -fsSL https://api.github.com/repos/apache/guacamole-server/tags | jq -r '.[0].name') curl -fsSL "https://api.github.com/repos/apache/guacamole-server/tarball/refs/tags/${RELEASE_SERVER}" | tar -xz --strip-components=1 -C /opt/apache-guacamole/server cd /opt/apache-guacamole/server $STD autoreconf -fi @@ -60,7 +60,7 @@ $STD ./configure --with-init-dir=/etc/init.d --enable-allow-freerdp-snapshots $STD make $STD make install $STD ldconfig -RELEASE_CLIENT=$(curl -fsSLL https://api.github.com/repos/apache/guacamole-client/tags | jq -r '.[0].name') +RELEASE_CLIENT=$(curl -fsSL https://api.github.com/repos/apache/guacamole-client/tags | jq -r '.[0].name') curl -fsSL "https://downloads.apache.org/guacamole/${RELEASE_CLIENT}/binary/guacamole-${RELEASE_CLIENT}.war" -o "/opt/apache-guacamole/tomcat9/webapps/guacamole.war" cd /root curl -fsSL "https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-8.0.26.tar.gz" -o "/root/mysql-connector-java-8.0.26.tar.gz" diff --git a/install/beszel-install.sh b/install/beszel-install.sh index e7eaecd2a..58eac8219 100644 --- a/install/beszel-install.sh +++ b/install/beszel-install.sh @@ -15,7 +15,7 @@ update_os msg_info "Installing Beszel" mkdir -p /opt/beszel -curl -fsSLL "https://github.com/henrygd/beszel/releases/latest/download/beszel_$(uname -s)_$(uname -m | sed -e 's/x86_64/amd64/' -e 's/armv6l/arm/' -e 's/armv7l/arm/' -e 's/aarch64/arm64/').tar.gz" | tar -xz -O beszel | tee /opt/beszel/beszel >/dev/null +curl -fsSL "https://github.com/henrygd/beszel/releases/latest/download/beszel_$(uname -s)_$(uname -m | sed -e 's/x86_64/amd64/' -e 's/armv6l/arm/' -e 's/armv7l/arm/' -e 's/aarch64/arm64/').tar.gz" | tar -xz -O beszel | tee /opt/beszel/beszel >/dev/null chmod +x /opt/beszel/beszel msg_ok "Installed Beszel" diff --git a/install/commafeed-install.sh b/install/commafeed-install.sh index 5e9a58dd3..9bf4ee676 100644 --- a/install/commafeed-install.sh +++ b/install/commafeed-install.sh @@ -25,7 +25,7 @@ $STD apt-get update $STD apt-get -y install zulu17-jdk msg_ok "Installed Azul Zulu" -RELEASE=$(curl -fsSLL https://api.github.com/repos/Athou/commafeed/releases/latest | grep '"tag_name":' | cut -d'"' -f4) +RELEASE=$(curl -fsSL https://api.github.com/repos/Athou/commafeed/releases/latest | grep '"tag_name":' | cut -d'"' -f4) msg_info "Installing CommaFeed ${RELEASE}" mkdir /opt/commafeed curl -fsSL "https://github.com/Athou/commafeed/releases/download/${RELEASE}/commafeed-${RELEASE}-h2-jvm.zip" -o $(basename "https://github.com/Athou/commafeed/releases/download/${RELEASE}/commafeed-${RELEASE}-h2-jvm.zip") diff --git a/install/cosmos-install.sh b/install/cosmos-install.sh index 2e0caf1fe..ae5093dbb 100644 --- a/install/cosmos-install.sh +++ b/install/cosmos-install.sh @@ -37,7 +37,7 @@ msg_info "Install Cosmos" mkdir -p /opt/cosmos LATEST_RELEASE=$(curl -fsSL https://api.github.com/repos/azukaar/Cosmos-Server/releases/latest | grep "tag_name" | cut -d '"' -f 4) ZIP_FILE="cosmos-cloud-${LATEST_RELEASE#v}-amd64.zip" -curl -fsSLL "https://github.com/azukaar/Cosmos-Server/releases/download/${LATEST_RELEASE}/${ZIP_FILE}" -o "/opt/cosmos/${ZIP_FILE}" +curl -fsSL "https://github.com/azukaar/Cosmos-Server/releases/download/${LATEST_RELEASE}/${ZIP_FILE}" -o "/opt/cosmos/${ZIP_FILE}" cd /opt/cosmos unzip -o -q "${ZIP_FILE}" LATEST_RELEASE_NO_V=${LATEST_RELEASE#v} diff --git a/install/cronicle-install.sh b/install/cronicle-install.sh index 958b3b27e..ac5c0ab61 100644 --- a/install/cronicle-install.sh +++ b/install/cronicle-install.sh @@ -29,7 +29,7 @@ $STD apt-get install -y nodejs msg_ok "Installed Node.js" msg_info "Installing Cronicle Primary Server" -LATEST=$(curl -fsSLL https://api.github.com/repos/jhuckaby/Cronicle/releases/latest | grep '"tag_name":' | cut -d'"' -f4) +LATEST=$(curl -fsSL https://api.github.com/repos/jhuckaby/Cronicle/releases/latest | grep '"tag_name":' | cut -d'"' -f4) IP=$(hostname -I | awk '{print $1}') mkdir -p /opt/cronicle cd /opt/cronicle diff --git a/install/docker-install.sh b/install/docker-install.sh index c9503c8d4..293bde0c6 100644 --- a/install/docker-install.sh +++ b/install/docker-install.sh @@ -14,7 +14,7 @@ network_check update_os get_latest_release() { - curl -fsSLL https://api.github.com/repos/$1/releases/latest | grep '"tag_name":' | cut -d'"' -f4 + curl -fsSL https://api.github.com/repos/$1/releases/latest | grep '"tag_name":' | cut -d'"' -f4 } DOCKER_LATEST_VERSION=$(get_latest_release "moby/moby") diff --git a/install/dockge-install.sh b/install/dockge-install.sh index d82bf28b8..c8ca6fd00 100644 --- a/install/dockge-install.sh +++ b/install/dockge-install.sh @@ -14,7 +14,7 @@ network_check update_os get_latest_release() { - curl -fsSLL https://api.github.com/repos/$1/releases/latest | grep '"tag_name":' | cut -d'"' -f4 + curl -fsSL https://api.github.com/repos/$1/releases/latest | grep '"tag_name":' | cut -d'"' -f4 } DOCKER_LATEST_VERSION=$(get_latest_release "moby/moby") diff --git a/install/emby-install.sh b/install/emby-install.sh index bbe5fac47..0df3edf7c 100644 --- a/install/emby-install.sh +++ b/install/emby-install.sh @@ -24,7 +24,7 @@ if [[ "$CTTYPE" == "0" ]]; then fi msg_ok "Set Up Hardware Acceleration" -LATEST=$(curl -fsSLL https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/latest | grep '"tag_name":' | cut -d'"' -f4) +LATEST=$(curl -fsSL https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/latest | grep '"tag_name":' | cut -d'"' -f4) msg_info "Installing Emby" curl -fsSL "https://github.com/MediaBrowser/Emby.Releases/releases/download/${LATEST}/emby-server-deb_${LATEST}_amd64.deb" -o $(basename "https://github.com/MediaBrowser/Emby.Releases/releases/download/${LATEST}/emby-server-deb_${LATEST}_amd64.deb") diff --git a/install/gokapi-install.sh b/install/gokapi-install.sh index a00851ef1..49ffd73e2 100644 --- a/install/gokapi-install.sh +++ b/install/gokapi-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Gokapi" -LATEST=$(curl -fsSLL https://api.github.com/repos/Forceu/Gokapi/releases/latest | grep '"tag_name":' | cut -d'"' -f4) +LATEST=$(curl -fsSL https://api.github.com/repos/Forceu/Gokapi/releases/latest | grep '"tag_name":' | cut -d'"' -f4) mkdir -p /opt/gokapi/{data,config} curl -fsSL "https://github.com/Forceu/Gokapi/releases/download/$LATEST/gokapi-linux_amd64.zip" -o $(basename "https://github.com/Forceu/Gokapi/releases/download/$LATEST/gokapi-linux_amd64.zip") unzip -q gokapi-linux_amd64.zip -d /opt/gokapi diff --git a/install/homeassistant-install.sh b/install/homeassistant-install.sh index da052984a..e041e72fc 100644 --- a/install/homeassistant-install.sh +++ b/install/homeassistant-install.sh @@ -27,7 +27,7 @@ $STD pip install runlike msg_ok "Installed runlike" get_latest_release() { - curl -fsSLL https://api.github.com/repos/$1/releases/latest | grep '"tag_name":' | cut -d'"' -f4 + curl -fsSL https://api.github.com/repos/$1/releases/latest | grep '"tag_name":' | cut -d'"' -f4 } DOCKER_LATEST_VERSION=$(get_latest_release "moby/moby") diff --git a/install/mattermost-install.sh b/install/mattermost-install.sh index 0a364654b..671aea640 100644 --- a/install/mattermost-install.sh +++ b/install/mattermost-install.sh @@ -38,8 +38,8 @@ msg_ok "Set up PostgreSQL" msg_info "Installing Mattermost" IPADDRESS=$(hostname -I | awk '{print $1}') -curl -fsSLL -o /usr/share/keyrings/mattermost-archive-keyring.gpg https://deb.packages.mattermost.com/pubkey.gpg -sh -c 'curl -fsSLL https://deb.packages.mattermost.com/repo-setup.sh | sudo bash -s mattermost' >/dev/null +curl -fsSL -o /usr/share/keyrings/mattermost-archive-keyring.gpg https://deb.packages.mattermost.com/pubkey.gpg +sh -c 'curl -fsSL https://deb.packages.mattermost.com/repo-setup.sh | sudo bash -s mattermost' >/dev/null $STD apt-get update $STD apt-get install -y mattermost $STD install -C -m 600 -o mattermost -g mattermost /opt/mattermost/config/config.defaults.json /opt/mattermost/config/config.json diff --git a/install/npmplus-install.sh b/install/npmplus-install.sh index 3147d83de..d283895c6 100644 --- a/install/npmplus-install.sh +++ b/install/npmplus-install.sh @@ -26,7 +26,7 @@ $STD rc-service docker start $STD rc-update add docker default get_latest_release() { - curl -fsSLL https://api.github.com/repos/$1/releases/latest | grep '"tag_name":' | cut -d'"' -f4 + curl -fsSL https://api.github.com/repos/$1/releases/latest | grep '"tag_name":' | cut -d'"' -f4 } DOCKER_COMPOSE_LATEST_VERSION=$(get_latest_release "docker/compose") DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker} diff --git a/install/ombi-install.sh b/install/ombi-install.sh index 620e73440..995b3b09b 100644 --- a/install/ombi-install.sh +++ b/install/ombi-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Ombi" -RELEASE=$(curl -fsSLL https://api.github.com/repos/Ombi-app/Ombi/releases/latest | grep '"tag_name":' | cut -d'"' -f4) +RELEASE=$(curl -fsSL https://api.github.com/repos/Ombi-app/Ombi/releases/latest | grep '"tag_name":' | cut -d'"' -f4) curl -fsSL "https://github.com/Ombi-app/Ombi/releases/download/${RELEASE}/linux-x64.tar.gz" -o $(basename "https://github.com/Ombi-app/Ombi/releases/download/${RELEASE}/linux-x64.tar.gz") echo "${RELEASE}" >/opt/${APPLICATION}_version.txt mkdir -p /opt/ombi diff --git a/install/openobserve-install.sh b/install/openobserve-install.sh index 838afb14a..fb7dd0f41 100644 --- a/install/openobserve-install.sh +++ b/install/openobserve-install.sh @@ -15,7 +15,7 @@ update_os msg_info "Installing OpenObserve" mkdir -p /opt/openobserve/data -LATEST=$(curl -fsSLL https://api.github.com/repos/openobserve/openobserve/releases/latest | grep '"tag_name":' | cut -d'"' -f4) +LATEST=$(curl -fsSL https://api.github.com/repos/openobserve/openobserve/releases/latest | grep '"tag_name":' | cut -d'"' -f4) $STD tar zxvf <(curl -fsSL https://github.com/openobserve/openobserve/releases/download/$LATEST/openobserve-${LATEST}-linux-amd64.tar.gz) -C /opt/openobserve cat </opt/openobserve/data/.env diff --git a/install/peanut-install.sh b/install/peanut-install.sh index 9601b1196..f1fb4a8d9 100644 --- a/install/peanut-install.sh +++ b/install/peanut-install.sh @@ -31,7 +31,7 @@ $STD apt-get install -y nut-client msg_ok "Installed NUT" msg_info "Installing Peanut" -RELEASE=$(curl -fsSLL https://api.github.com/repos/Brandawg93/PeaNUT/releases/latest | grep '"tag_name":' | cut -d'"' -f4) +RELEASE=$(curl -fsSL https://api.github.com/repos/Brandawg93/PeaNUT/releases/latest | grep '"tag_name":' | cut -d'"' -f4) curl -fsSL "https://api.github.com/repos/Brandawg93/PeaNUT/tarball/${RELEASE}" -o "peanut.tar.gz" mkdir -p /opt/peanut tar -xzf peanut.tar.gz -C /opt/peanut --strip-components 1 diff --git a/install/pialert-install.sh b/install/pialert-install.sh index d4ebcce84..3bd6c555a 100644 --- a/install/pialert-install.sh +++ b/install/pialert-install.sh @@ -56,7 +56,7 @@ $STD pip3 install pyunifi msg_ok "Installed Python Dependencies" msg_info "Installing Pi.Alert" -curl -fsSLL https://github.com/leiweibau/Pi.Alert/raw/main/tar/pialert_latest.tar | tar xvf - -C /opt >/dev/null 2>&1 +curl -fsSL https://github.com/leiweibau/Pi.Alert/raw/main/tar/pialert_latest.tar | tar xvf - -C /opt >/dev/null 2>&1 rm -rf /var/lib/ieee-data /var/www/html/index.html sed -i -e 's#^sudo cp -n /usr/share/ieee-data/.* /var/lib/ieee-data/#\# &#' -e '/^sudo mkdir -p 2_backup$/s/^/# /' -e '/^sudo cp \*.txt 2_backup$/s/^/# /' -e '/^sudo cp \*.csv 2_backup$/s/^/# /' /opt/pialert/back/update_vendors.sh mv /var/www/html/index.lighttpd.html /var/www/html/index.lighttpd.html.old diff --git a/install/podman-homeassistant-install.sh b/install/podman-homeassistant-install.sh index 75a0eabe1..82affeac6 100644 --- a/install/podman-homeassistant-install.sh +++ b/install/podman-homeassistant-install.sh @@ -14,7 +14,7 @@ network_check update_os get_latest_release() { - curl -fsSLL https://api.github.com/repos/$1/releases/latest | grep '"tag_name":' | cut -d'"' -f4 + curl -fsSL https://api.github.com/repos/$1/releases/latest | grep '"tag_name":' | cut -d'"' -f4 } PORTAINER_LATEST_VERSION=$(get_latest_release "portainer/portainer") diff --git a/install/podman-install.sh b/install/podman-install.sh index b3c89d1c0..c91835fa4 100644 --- a/install/podman-install.sh +++ b/install/podman-install.sh @@ -14,7 +14,7 @@ network_check update_os get_latest_release() { - curl -fsSLL https://api.github.com/repos/$1/releases/latest | grep '"tag_name":' | cut -d'"' -f4 + curl -fsSL https://api.github.com/repos/$1/releases/latest | grep '"tag_name":' | cut -d'"' -f4 } PORTAINER_LATEST_VERSION=$(get_latest_release "portainer/portainer") diff --git a/install/syncthing-install.sh b/install/syncthing-install.sh index b55a6e6d3..ebdbba502 100644 --- a/install/syncthing-install.sh +++ b/install/syncthing-install.sh @@ -18,7 +18,7 @@ $STD apt-get install -y gnupg msg_ok "Installed Dependencies" msg_info "Installing Syncthing" -curl -fsSLL -o /usr/share/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg +curl -fsSL -o /usr/share/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg sh -c 'echo "deb [signed-by=/usr/share/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable" > /etc/apt/sources.list.d/syncthing.list' $STD apt-get update $STD apt-get install -y syncthing diff --git a/misc/webmin.sh b/misc/webmin.sh index b313144bb..2502699ef 100644 --- a/misc/webmin.sh +++ b/misc/webmin.sh @@ -45,7 +45,7 @@ apt update &>/dev/null apt-get -y install libnet-ssleay-perl libauthen-pam-perl libio-pty-perl unzip shared-mime-info &>/dev/null msg_ok "Installed Prerequisites" -LATEST=$(curl -fsSLL https://api.github.com/repos/webmin/webmin/releases/latest | grep '"tag_name":' | cut -d'"' -f4) +LATEST=$(curl -fsSL https://api.github.com/repos/webmin/webmin/releases/latest | grep '"tag_name":' | cut -d'"' -f4) msg_info "Downloading Webmin" curl -fsSL "https://github.com/webmin/webmin/releases/download/$LATEST/webmin_${LATEST}_all.deb" -o $(basename "https://github.com/webmin/webmin/releases/download/$LATEST/webmin_${LATEST}_all.deb")