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.
This commit is contained in:
CanbiZ (MickLesk)
2026-04-13 16:44:38 +02:00
parent 0dbf0b06ae
commit b2af68d233
9 changed files with 18 additions and 18 deletions

View File

@@ -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;')

View File

@@ -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 <<EOF >/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 <<EOF >/etc/systemd/system/blinko.service

View File

@@ -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 <<EOF >/etc/systemd/system/dagu.service

View File

@@ -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 <<EOF >/etc/systemd/system/gogs.service

View File

@@ -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;')

View File

@@ -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;')

View File

@@ -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 <<EOF >/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 <<EOF >/etc/systemd/system/papermark.service

View File

@@ -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;')

View File

@@ -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;')