mirror of
https://github.com/YunoHost-Apps/baikal_ynh.git
synced 2024-09-03 18:16:11 +02:00
parent
00bec35ca8
commit
5553f0fd6d
1 changed files with 2 additions and 2 deletions
|
@ -21,8 +21,8 @@ final_path=/var/www/baikal
|
|||
sudo mkdir -p $final_path
|
||||
sudo cp -a ../sources/* $final_path
|
||||
sudo chown -R www-data: $final_path
|
||||
sudo su -c "curl -sS https://getcomposer.org/installer | php -- --install-dir=$final_path" www-data
|
||||
sudo su -c "cd $final_path && php composer.phar install" www-data
|
||||
sudo su -c "curl -sS https://getcomposer.org/installer | php -- --install-dir=$final_path" -s /bin/sh www-data
|
||||
sudo su -c "cd $final_path && php composer.phar install" -s /bin/sh www-data
|
||||
sudo rm $final_path/composer*
|
||||
|
||||
db_pwd=$(dd if=/dev/urandom bs=1 count=200 2> /dev/null | tr -c -d '[A-Za-z0-9]' | sed -n 's/\(.\{24\}\).*/\1/p')
|
||||
|
|
Loading…
Add table
Reference in a new issue