Commit Graph
10 Commits
Author SHA1 Message Date
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 783afc1a3b exim4 fix, zabbix update 2020-01-13 16:59:27 +01:00
bachir faabe5d622 reverted for bash shell 2019-10-21 16:11:31 +02: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 Soussi Chiadmi 9b8670f4e4 added some color fixes, not finished 2018-04-07 12:59:00 +02:00
Bachir Soussi Chiadmi c5a8b8b87b check for user in vhost and user creation 2018-04-07 12:47:24 +02:00
Bachir Soussi Chiadmi e15e231cc5 chmod +x bin/* 2018-04-07 11:34:55 +02:00
Bachir Soussi Chiadmi c1eefcd6fc added root check and needrestart check 2018-04-07 11:23:02 +02:00
Bachir Soussi Chiadmi 0e81a4ab11 splitted in subscripts, cleaned 2018-04-07 11:15:09 +02:00