From ff1cb4e9842d8d981e643c5be77d7b97b7bd11ca Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Thu, 29 Jan 2026 13:43:45 +0100 Subject: [PATCH] Remove unused import_local_ip calls from install scripts Eliminated redundant or unused calls to import_local_ip across multiple install and update scripts to clean up the codebase. No functional changes were made to the installation or update processes. --- ct/ampache.sh | 2 +- install/affine-install.sh | 2 +- install/deferred/docspell-install.sh | 2 +- install/ente-install.sh | 2 +- install/linkwarden-install.sh | 2 +- install/piler-install.sh | 2 +- install/pixelfed-install.sh | 2 +- install/wishlist-install.sh | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ct/ampache.sh b/ct/ampache.sh index ef6bb7903..1c4d6415e 100644 --- a/ct/ampache.sh +++ b/ct/ampache.sh @@ -29,7 +29,7 @@ function update_script() { exit fi if check_for_gh_release "Ampache" "ampache/ampache"; then - import_local_ip + msg_info "Stopping Apache" systemctl stop apache2 msg_ok "Stopped Apache" diff --git a/install/affine-install.sh b/install/affine-install.sh index ce3cb9fac..5cce12462 100644 --- a/install/affine-install.sh +++ b/install/affine-install.sh @@ -29,7 +29,7 @@ PG_VERSION="16" PG_MODULES="pgvector" setup_postgresql PG_DB_NAME="affine" PG_DB_USER="affine" setup_postgresql_db NODE_VERSION="22" setup_nodejs setup_rust -import_local_ip + fetch_and_deploy_gh_release "affine_app" "toeverything/AFFiNE" "tarball" "latest" "/opt/affine" diff --git a/install/deferred/docspell-install.sh b/install/deferred/docspell-install.sh index 794e4c9bb..3738c816b 100644 --- a/install/deferred/docspell-install.sh +++ b/install/deferred/docspell-install.sh @@ -14,7 +14,7 @@ update_os msg_info "Setup Functions" setup_local_ip_helper -import_local_ip + msg_ok "Setup Functions" msg_info "Installing Dependencies (Patience)" diff --git a/install/ente-install.sh b/install/ente-install.sh index a6028e3cb..e1b9298e7 100644 --- a/install/ente-install.sh +++ b/install/ente-install.sh @@ -28,7 +28,7 @@ setup_go NODE_VERSION="24" NODE_MODULE="yarn" setup_nodejs RUST_CRATES="wasm-pack" setup_rust $STD rustup target add wasm32-unknown-unknown -import_local_ip + ENTE_CLI_VERSION=$(curl -s https://api.github.com/repos/ente-io/ente/releases | jq -r '[.[] | select(.tag_name | startswith("cli-v"))][0].tag_name') fetch_and_deploy_gh_release "ente-server" "ente-io/ente" "tarball" "latest" "/opt/ente" diff --git a/install/linkwarden-install.sh b/install/linkwarden-install.sh index 8f4b569a5..3808c8426 100644 --- a/install/linkwarden-install.sh +++ b/install/linkwarden-install.sh @@ -22,7 +22,7 @@ PG_VERSION="16" setup_postgresql PG_DB_NAME="linkwardendb" PG_DB_USER="linkwarden" setup_postgresql_db RUST_CRATES="monolith" setup_rust fetch_and_deploy_gh_release "linkwarden" "linkwarden/linkwarden" -import_local_ip + read -r -p "${TAB3}Would you like to add Adminer? " prompt if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then diff --git a/install/piler-install.sh b/install/piler-install.sh index 1eeadff04..0f9c92bc7 100644 --- a/install/piler-install.sh +++ b/install/piler-install.sh @@ -30,7 +30,7 @@ $STD apt install -y \ gnupg msg_ok "Installed Dependencies" -import_local_ip + setup_mariadb MARIADB_DB_NAME="piler" MARIADB_DB_USER="piler" setup_mariadb_db PHP_VERSION="8.3" PHP_FPM="YES" PHP_MODULE="ldap,gd,memcached,pdo,mysql,curl,zip" setup_php diff --git a/install/pixelfed-install.sh b/install/pixelfed-install.sh index f2b9ee78e..923068139 100644 --- a/install/pixelfed-install.sh +++ b/install/pixelfed-install.sh @@ -29,7 +29,7 @@ useradd -rU -s /bin/bash pixelfed usermod -aG redis pixelfed msg_ok "Created Pixelfed User" -import_local_ip + PG_VERSION="17" setup_postgresql PG_DB_NAME="pixelfed" PG_DB_USER="pixelfed" setup_postgresql_db PHP_VERSION="8.4" PHP_FPM="YES" PHP_MODULE="bcmath,ctype,exif,imagick,pgsql,redis,tokenizer" PHP_UPLOAD_MAX_FILESIZE="500M" PHP_POST_MAX_SIZE="500M" PHP_MAX_EXECUTION_TIME="600" setup_php diff --git a/install/wishlist-install.sh b/install/wishlist-install.sh index 5203d2731..659439f74 100644 --- a/install/wishlist-install.sh +++ b/install/wishlist-install.sh @@ -24,7 +24,7 @@ msg_ok "Installed dependencies" NODE_VERSION="24" NODE_MODULE="pnpm" setup_nodejs fetch_and_deploy_gh_release "wishlist" "cmintey/wishlist" "tarball" LATEST_APP_VERSION=$(get_latest_github_release "cmintey/wishlist" false) -import_local_ip + msg_info "Installing Wishlist" cd /opt/wishlist