1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/baikal_ynh.git synced 2024-09-03 18:16:11 +02:00

Work around missing shell for www-data in jessie

See #10
This commit is contained in:
julienmalik 2015-07-29 15:23:12 +02:00
parent 00bec35ca8
commit 5553f0fd6d

View file

@ -21,8 +21,8 @@ final_path=/var/www/baikal
sudo mkdir -p $final_path sudo mkdir -p $final_path
sudo cp -a ../sources/* $final_path sudo cp -a ../sources/* $final_path
sudo chown -R www-data: $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 "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" www-data sudo su -c "cd $final_path && php composer.phar install" -s /bin/sh www-data
sudo rm $final_path/composer* 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') 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')