Fix wrong path to manage.py

This commit is contained in:
opi 2016-04-24 19:24:11 +02:00
parent 2da0e89a08
commit b9c700d9e5
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ then
fi
sudo cp -r ../sources/* $final_path
sudo virtualenv --system-site-packages $final_path
sudo bash -c "source $final_path/bin/activate && pip install -r $final_path/requirements.txt && $final_path/manage.py update_packages"
sudo bash -c "source $final_path/bin/activate && pip install -r $final_path/requirements.txt && $final_path/searx/manage.py update_packages"
# Disable swapfile
if [[ -v "$tmp_swap_file" ]];

View File

@ -38,7 +38,7 @@ fi
final_path=/opt/yunohost/searx
sudo cp -r ../sources/* $final_path
sudo bash -c "source $final_path/bin/activate && pip install -r $final_path/requirements.txt --upgrade && $final_path/manage.py update_packages"
sudo bash -c "source $final_path/bin/activate && pip install -r $final_path/requirements.txt --upgrade && $final_path/searx/manage.py update_packages"
# Disable swapfile
if [[ -v "$tmp_swap_file" ]];