mirror of
https://github.com/YunoHost-Apps/motioneye_ynh.git
synced 2024-09-03 19:46:09 +02:00
moved asset to install
This commit is contained in:
parent
fb3269df4d
commit
ac68fa195c
2 changed files with 4 additions and 4 deletions
|
@ -67,12 +67,12 @@ ram.runtime = "50M"
|
||||||
|
|
||||||
[resources.sources]
|
[resources.sources]
|
||||||
|
|
||||||
[resources.sources.main]
|
# [resources.sources.main]
|
||||||
# This will pre-fetch the asset which can then be deployed during the install/upgrade scripts with :
|
# This will pre-fetch the asset which can then be deployed during the install/upgrade scripts with :
|
||||||
# ynh_setup_source --dest_dir="$install_dir"
|
# ynh_setup_source --dest_dir="$install_dir"
|
||||||
# You can also define other assets than "main" and add --source_id="foobar" in the previous command
|
# You can also define other assets than "main" and add --source_id="foobar" in the previous command
|
||||||
url = "https://github.com/motioneye-project/motioneye/archive/dev.tar.gz"
|
# url = "https://github.com/motioneye-project/motioneye/archive/dev.tar.gz"
|
||||||
sha256 = "561f3350a0da8cabd01e82d92c56e146da5bd15712d1dcb647648c9a57d573c6"
|
# sha256 = "561f3350a0da8cabd01e82d92c56e146da5bd15712d1dcb647648c9a57d573c6"
|
||||||
|
|
||||||
# These infos are used by https://github.com/YunoHost/apps/blob/master/tools/autoupdate_app_sources/autoupdate_app_sources.py
|
# These infos are used by https://github.com/YunoHost/apps/blob/master/tools/autoupdate_app_sources/autoupdate_app_sources.py
|
||||||
# to auto-update the previous asset urls and sha256sum + manifest version
|
# to auto-update the previous asset urls and sha256sum + manifest version
|
||||||
|
|
|
@ -172,7 +172,7 @@ ynh_script_progression --message="Installing python dependencies..." --weight=1
|
||||||
pushd $install_dir
|
pushd $install_dir
|
||||||
python3 -m venv venv
|
python3 -m venv venv
|
||||||
venv/bin/pip install --upgrade pip
|
venv/bin/pip install --upgrade pip
|
||||||
venv/bin/pip install dev.tar.gz
|
venv/bin/pip install "https://github.com/motioneye-project/motioneye/archive/dev.tar.gz"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue