mirror of
https://github.com/YunoHost-Apps/dotclear2_ynh.git
synced 2024-09-03 18:26:29 +02:00
Fix #5
This commit is contained in:
parent
ba7d671a00
commit
442ce331d6
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ sudo yunohost app setting $app is_public -v "$is_public"
|
||||||
|
|
||||||
|
|
||||||
# Make sure we got the tools we need for this install
|
# Make sure we got the tools we need for this install
|
||||||
sudo apt install -y curl wget sed
|
sudo apt-get install -y curl wget sed
|
||||||
|
|
||||||
# Initialize database and store mysql password for upgrade
|
# Initialize database and store mysql password for upgrade
|
||||||
db_password=`sudo yunohost app initdb $app | tr -d '\n'`
|
db_password=`sudo yunohost app initdb $app | tr -d '\n'`
|
||||||
|
@ -44,7 +44,7 @@ sudo mkdir -p $directory
|
||||||
sudo mv dotclear $directory
|
sudo mv dotclear $directory
|
||||||
sudo rm -f $app.tgz
|
sudo rm -f $app.tgz
|
||||||
cd $directory
|
cd $directory
|
||||||
sudo cp inc/$php_config.in inc/$php_config
|
sudo cp $php_config.in $php_config
|
||||||
sudo chown www-data:www-data -R $app
|
sudo chown www-data:www-data -R $app
|
||||||
|
|
||||||
# Config as if we called in admin/install/wizard.php
|
# Config as if we called in admin/install/wizard.php
|
||||||
|
|
Loading…
Reference in a new issue