Commit Graph
24 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 8863d1ef79 updtaed urbackup client 2023-12-21 09:53:17 +01:00
bachir 5c163b3ea2 updated urbackup client version 2023-07-01 10:47:11 +02:00
bachir af5d1b1404 fixed urbackup settings file path 2022-10-18 10:02:54 +02:00
bachir 3503f954be urbackup is now using coming from source systemd service 2022-10-16 21:57:16 +02:00
bachir d2e30fc62f updated urbackup client 2022-10-16 21:33:29 +02:00
bachir a8af6cff54 updated urbackup client to 2.4.11 2021-04-28 12:03:02 +02:00
bachir 8190ca5ab2 updated urbackup client 2020-04-18 11:37:55 +02:00
bachir 21d9c2ee0d updated urbackup client 2020-04-18 11:32:19 +02:00
bachir eab2c83c2d updated urbackup client 2020-01-13 18:35:58 +01:00
bachir 9225ca2f4b reverted for bash shell 2019-10-21 16:10:05 +02:00
bachir 67b84ed088 some updates for buster 2019-10-21 16:00:06 +02:00
bachir db2fcd1f6d updated urbackup client, added systemd monitoring 2019-01-21 16:14:09 +01:00
bachir fff73f9e3d added urbackup and some todos 2018-10-16 15:34:15 +02:00
bachir c76b459ab5 urbackup client more settings 2018-04-29 17:15:04 +02:00
bachir f0c24709bc added urbackup client settings 2018-04-29 16:09:01 +02:00
bachir 3b63e963d4 fix urbackup.service install 2018-04-29 12:28:06 +02:00
bachir 7917ae08fd fix urbackup ascii art 2018-04-29 12:14:03 +02:00
bachir 017d7fb449 chmod +x bin/* 2018-04-28 23:46:29 +02:00
bachir 0ed87e11ee urbackup client install functional 2018-04-28 23:19:51 +02:00
bachir 875027f99b minor fix on urbackup.sh 2018-04-28 22:43:02 +02:00
bachir 77b0a828f9 minor fix on urbackup.sh 2018-04-28 22:40:05 +02:00
bachir 4718725c87 started urbackup headless client install script 2018-04-28 22:36:29 +02:00