mirror of
https://github.com/YunoHost-Apps/abantecart_ynh.git
synced 2024-09-03 18:06:16 +02:00
Update install
This commit is contained in:
parent
a9a21746b1
commit
cf82ebf668
1 changed files with 3 additions and 4 deletions
|
@ -47,12 +47,11 @@ fi
|
||||||
|
|
||||||
# Copy files to the right place
|
# Copy files to the right place
|
||||||
final_path=/var/www/$app
|
final_path=/var/www/$app
|
||||||
sudo mkdir -p $final_path
|
sudo git clone https://github.com/abantecart/abantecart-src.git /var/www/$app
|
||||||
extract_source $final_path
|
|
||||||
sudo rm -rf $final_path/test
|
sudo rm -rf $final_path/test
|
||||||
sudo rm -rf install.txt
|
sudo rm -rf $final_path/install.txt
|
||||||
sudo mv $final_path/public_html/* ..
|
sudo mv $final_path/public_html/* ..
|
||||||
sudo rmdir $final_path/public_html
|
sudo rm -rf $final_path/public_html
|
||||||
|
|
||||||
cd $final_path/install/
|
cd $final_path/install/
|
||||||
sudo php cli_install.php install
|
sudo php cli_install.php install
|
||||||
|
|
Loading…
Add table
Reference in a new issue