From b2af68d2337a0762f1eb18e7d4c0c965864f6718 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Mon, 13 Apr 2026 16:44:38 +0200 Subject: [PATCH] Use explicit app names in install scripts Replace the generic ${APP} placeholder with explicit, consistently capitalized application names in install scripts to produce clearer log output. Affected scripts: install/{akaunting,blinko,dagu,gogs,invoiceshelf,matomo,papermark,rss-bridge,solidtime}-install.sh. Changes update msg_info and msg_ok messages only. --- install/akaunting-install.sh | 4 ++-- install/blinko-install.sh | 4 ++-- install/dagu-install.sh | 4 ++-- install/gogs-install.sh | 4 ++-- install/invoiceshelf-install.sh | 4 ++-- install/matomo-install.sh | 4 ++-- install/papermark-install.sh | 4 ++-- install/rss-bridge-install.sh | 4 ++-- install/solidtime-install.sh | 4 ++-- 9 files changed, 18 insertions(+), 18 deletions(-) diff --git a/install/akaunting-install.sh b/install/akaunting-install.sh index bd43e3d4..bca0590b 100644 --- a/install/akaunting-install.sh +++ b/install/akaunting-install.sh @@ -24,7 +24,7 @@ MARIADB_DB_NAME="akaunting" MARIADB_DB_USER="akaunting" setup_mariadb_db fetch_and_deploy_gh_release "akaunting" "akaunting/akaunting" "tarball" -msg_info "Setting up ${APP}" +msg_info "Setting up Akaunting" cd /opt/akaunting $STD composer install --no-dev --optimize-autoloader $STD npm install @@ -51,7 +51,7 @@ mkdir -p storage/framework/{cache,sessions,views} storage/logs bootstrap/cache chown -R www-data:www-data /opt/akaunting chmod -R 775 storage bootstrap/cache $STD php artisan migrate --force --seed -msg_ok "Set up ${APP}" +msg_ok "Set up Akaunting" msg_info "Configuring Caddy" PHP_VER=$(php -r 'echo PHP_MAJOR_VERSION . "." . PHP_MINOR_VERSION;') diff --git a/install/blinko-install.sh b/install/blinko-install.sh index f75ee5d9..da49be2b 100644 --- a/install/blinko-install.sh +++ b/install/blinko-install.sh @@ -27,7 +27,7 @@ PG_DB_NAME="blinko" PG_DB_USER="blinko" setup_postgresql_db fetch_and_deploy_gh_release "blinko" "blinkospace/blinko" "tarball" -msg_info "Setting up ${APP}" +msg_info "Setting up Blinko" cd /opt/blinko cat </opt/blinko/.env NODE_ENV=production @@ -40,7 +40,7 @@ $STD bun install $STD bunx prisma generate $STD bunx prisma migrate deploy $STD bun run build -msg_ok "Set up ${APP}" +msg_ok "Set up Blinko" msg_info "Creating Service" cat </etc/systemd/system/blinko.service diff --git a/install/dagu-install.sh b/install/dagu-install.sh index 0c70c677..28b581cc 100644 --- a/install/dagu-install.sh +++ b/install/dagu-install.sh @@ -15,9 +15,9 @@ update_os fetch_and_deploy_gh_release "dagu" "dagucloud/dagu" "prebuild" "latest" "/opt/dagu" "dagu_*_linux_amd64.tar.gz" -msg_info "Setting up ${APP}" +msg_info "Setting up Dagu" mkdir -p /opt/dagu/data -msg_ok "Set up ${APP}" +msg_ok "Set up Dagu" msg_info "Creating Service" cat </etc/systemd/system/dagu.service diff --git a/install/gogs-install.sh b/install/gogs-install.sh index e5e75472..4086a598 100644 --- a/install/gogs-install.sh +++ b/install/gogs-install.sh @@ -19,9 +19,9 @@ msg_ok "Installed Dependencies" fetch_and_deploy_gh_release "gogs" "gogs/gogs" "prebuild" "latest" "/opt/gogs" "gogs_*_linux_amd64.tar.gz" -msg_info "Setting up ${APP}" +msg_info "Setting up Gogs" mkdir -p /opt/gogs/{custom/conf,data,log} -msg_ok "Set up ${APP}" +msg_ok "Set up Gogs" msg_info "Creating Service" cat </etc/systemd/system/gogs.service diff --git a/install/invoiceshelf-install.sh b/install/invoiceshelf-install.sh index f1e9c1ba..a701df49 100644 --- a/install/invoiceshelf-install.sh +++ b/install/invoiceshelf-install.sh @@ -25,7 +25,7 @@ PG_DB_NAME="invoiceshelf" PG_DB_USER="invoiceshelf" setup_postgresql_db fetch_and_deploy_gh_release "invoiceshelf" "InvoiceShelf/InvoiceShelf" "tarball" -msg_info "Setting up ${APP}" +msg_info "Setting up InvoiceShelf" cd /opt/invoiceshelf cp .env.example .env APP_KEY=$($STD php artisan key:generate --show) @@ -47,7 +47,7 @@ chown -R www-data:www-data /opt/invoiceshelf chmod -R 775 storage bootstrap/cache $STD php artisan migrate --force $STD php artisan storage:link -msg_ok "Set up ${APP}" +msg_ok "Set up InvoiceShelf" msg_info "Configuring Caddy" PHP_VER=$(php -r 'echo PHP_MAJOR_VERSION . "." . PHP_MINOR_VERSION;') diff --git a/install/matomo-install.sh b/install/matomo-install.sh index 0912e3d5..45f23ae6 100644 --- a/install/matomo-install.sh +++ b/install/matomo-install.sh @@ -22,11 +22,11 @@ MARIADB_DB_NAME="matomo" MARIADB_DB_USER="matomo" setup_mariadb_db fetch_and_deploy_gh_release "matomo" "matomo-org/matomo" "prebuild" "latest" "/opt/matomo" "matomo-*.zip" -msg_info "Setting up ${APP}" +msg_info "Setting up Matomo" mkdir -p /opt/matomo/tmp chown -R www-data:www-data /opt/matomo chmod -R 755 /opt/matomo/tmp -msg_ok "Set up ${APP}" +msg_ok "Set up Matomo" msg_info "Configuring Caddy" PHP_VER=$(php -r 'echo PHP_MAJOR_VERSION . "." . PHP_MINOR_VERSION;') diff --git a/install/papermark-install.sh b/install/papermark-install.sh index fdb64d42..1ab87361 100644 --- a/install/papermark-install.sh +++ b/install/papermark-install.sh @@ -19,7 +19,7 @@ PG_DB_NAME="papermark" PG_DB_USER="papermark" setup_postgresql_db fetch_and_deploy_gh_release "papermark" "mfts/papermark" "tarball" -msg_info "Setting up ${APP}" +msg_info "Setting up Papermark" cd /opt/papermark cat </opt/papermark/.env DATABASE_URL=postgresql://${PG_DB_USER}:${PG_DB_PASS}@127.0.0.1:5432/${PG_DB_NAME} @@ -32,7 +32,7 @@ $STD npm install $STD npx prisma generate $STD npx prisma migrate deploy $STD npm run build -msg_ok "Set up ${APP}" +msg_ok "Set up Papermark" msg_info "Creating Service" cat </etc/systemd/system/papermark.service diff --git a/install/rss-bridge-install.sh b/install/rss-bridge-install.sh index 718a2f2f..4cb44851 100644 --- a/install/rss-bridge-install.sh +++ b/install/rss-bridge-install.sh @@ -22,12 +22,12 @@ setup_composer fetch_and_deploy_gh_release "rss-bridge" "RSS-Bridge/rss-bridge" "tarball" -msg_info "Setting up ${APP}" +msg_info "Setting up RSS-Bridge" cd /opt/rss-bridge $STD composer install --no-dev --optimize-autoloader cp config.default.ini.php config.ini.php chown -R www-data:www-data /opt/rss-bridge -msg_ok "Set up ${APP}" +msg_ok "Set up RSS-Bridge" msg_info "Configuring Caddy" PHP_VER=$(php -r 'echo PHP_MAJOR_VERSION . "." . PHP_MINOR_VERSION;') diff --git a/install/solidtime-install.sh b/install/solidtime-install.sh index 14a9163f..b8cfc3e3 100644 --- a/install/solidtime-install.sh +++ b/install/solidtime-install.sh @@ -25,7 +25,7 @@ PG_DB_NAME="solidtime" PG_DB_USER="solidtime" setup_postgresql_db fetch_and_deploy_gh_release "solidtime" "solidtime-io/solidtime" "tarball" -msg_info "Setting up ${APP}" +msg_info "Setting up SolidTime" cd /opt/solidtime cp .env.example .env APP_KEY=$($STD php artisan key:generate --show) @@ -46,7 +46,7 @@ mkdir -p storage/framework/{cache,sessions,views} storage/logs bootstrap/cache chown -R www-data:www-data /opt/solidtime chmod -R 775 storage bootstrap/cache $STD php artisan migrate --force -msg_ok "Set up ${APP}" +msg_ok "Set up SolidTime" msg_info "Configuring Caddy" PHP_VER=$(php -r 'echo PHP_MAJOR_VERSION . "." . PHP_MINOR_VERSION;')