2022-04-07 11:49:17 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -xeo pipefail
|
|
|
|
|
|
|
|
[ ! -d /var/www/.config ] && sudo mkdir -p /var/www/.config
|
|
|
|
[ -d /var/www/.config ] && sudo chown -R www-data: /var/www/.config
|
|
|
|
|
|
|
|
[ ! -d /var/www/.cache ] && sudo mkdir -p /var/www/.cache
|
|
|
|
[ -d /var/www/.cache ] && sudo chown -R www-data: /var/www/.cache
|
|
|
|
|
2022-05-03 08:54:45 +02:00
|
|
|
sudo chown -R www-data: /loginappsql
|
2022-05-04 11:48:02 +02:00
|
|
|
|
2022-05-04 13:05:58 +02:00
|
|
|
cp /composer.phar /loginappsql/composer.phar
|
|
|
|
cd /loginappsql
|
2022-05-04 11:48:02 +02:00
|
|
|
php composer.phar install
|