Commit Graph
16 Commits
Author SHA1 Message Date
bachirandClaude Sonnet 5 2e3ec7883f Replace echo -e with printf for portable ANSI banners
dash (Debian's /bin/sh) doesn't support echo's -e flag: it prints "-e"
literally as text before processing the rest of the string's backslash
escapes. Every script's colored banner was affected. printf's escape
handling is POSIX-mandated and behaves identically under dash and bash,
so swap all 90 echo -e calls for printf, appending the trailing \n that
echo used to add implicitly.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-04 09:35:02 +02:00
bachirandClaude Sonnet 5 7ff4df1173 Fix installer bugs: broken root checks, PHP version mismatches, dead paths
- Replace $EUID with $(id -u) for root checks across all bin/*.sh and
  install.sh: dash (Debian's /bin/sh) never sets $EUID, so the check was
  silently broken everywhere.
- lemp.sh: make apt-get upgrade non-interactive (--yes), align the Redis
  PHP module and php-fpm restart with $PHP_VERSION instead of a hardcoded
  8.1, and template the nginx PHP-FPM socket path via a PHP_FPM_SOCK
  placeholder substituted at install time.
- nginx-phpmyadmin.conf: fix docroot to match the actual phpMyAdmin
  symlink location created by lemp.sh.
- mysql-db.sh: inline the root check instead of sourcing the
  nonexistent bin/checkroot.sh.
- webhook.sh: fix chowm typo (chown).
- urbackup.sh: copy the systemd unit from assets/ instead of a relative
  path to a file that doesn't exist in the repo.
- _addUserSite.sh: fix invalid `$var=value` assignment and an empty
  if-block that was a POSIX sh syntax error.

Also carries over pending fixes to deploy-drupal.sh (drush now
invoked via vendor/bin/drush) and gitbarrerepos.sh (comment cleanup).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-04 09:28:08 +02:00
bachir cdcb034b6b improved webhook install, mysql comment innodb_buffer_pool_size 2023-11-26 17:59:15 +01:00
bachir 015307986d fixed webhook-deploy install 2023-11-20 15:39:06 +01:00
bachir c409589eab misc fixes 2023-11-19 11:04:50 +01:00
bachir d2380db06b misc 2023-03-31 11:16:46 +02:00
bachir e9f4ea86f5 webhook deploy fix 2021-05-18 15:29:06 +02:00
bachir 4554f1fa5a webhook deploy fix 2021-05-18 14:37:00 +02:00
bachir 98ea6deeeb webhook deploy fix 2021-05-18 14:35:19 +02:00
bachir d69c6d778a webhook deploy fix 2021-05-18 14:32:46 +02:00
bachir b771dd27db webhook deploy fix 2021-05-18 14:12:32 +02:00
bachir df6255689e webhook deploy fix 2021-05-18 14:07:33 +02:00
bachir 1163cd6ff0 webhook deploy fix 2021-05-18 14:04:31 +02:00
bachir 3a921226c0 webhook deploy fix 2021-05-18 14:02:08 +02:00
bachir 932d0a7d7f webhook deploy install 2021-05-18 13:59:30 +02:00
bachir 0af76cdd60 webhook deploy install 2021-05-18 13:58:50 +02:00