mirror of
https://github.com/YunoHost-Apps/invidious_ynh.git
synced 2024-09-03 19:15:55 +02:00
cleaning
This commit is contained in:
parent
3648abc6f7
commit
898cfa9376
2 changed files with 2 additions and 4 deletions
|
@ -18,7 +18,7 @@ code = "https://github.com/iv-org/invidious"
|
||||||
website = "https://invidio.us/"
|
website = "https://invidio.us/"
|
||||||
|
|
||||||
[integration]
|
[integration]
|
||||||
yunohost = ">= 11.1.18"
|
yunohost = ">= 11.1.19"
|
||||||
architectures = ["amd64"]
|
architectures = ["amd64"]
|
||||||
multi_instance = false
|
multi_instance = false
|
||||||
ldap = false
|
ldap = false
|
||||||
|
@ -64,7 +64,7 @@ ram.runtime = "50M"
|
||||||
api.protected = true
|
api.protected = true
|
||||||
|
|
||||||
[resources.apt]
|
[resources.apt]
|
||||||
packages = "apt-transport-https libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin imagemagick libsqlite3-dev zlib1g-dev libevent-dev pkg-config libpcre3-dev"
|
packages = "libssl-dev libxml2-dev libyaml-dev libgmp-dev libreadline-dev postgresql librsvg2-bin imagemagick libsqlite3-dev zlib1g-dev libevent-dev libpcre3-dev"
|
||||||
|
|
||||||
[resources.database]
|
[resources.database]
|
||||||
type = "postgresql"
|
type = "postgresql"
|
||||||
|
|
|
@ -46,11 +46,9 @@ chown -R $app:www-data "$install_dir"
|
||||||
git config --system --add safe.directory $install_dir
|
git config --system --add safe.directory $install_dir
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from GitHub
|
# Download, check integrity, uncompress and patch the source from GitHub
|
||||||
#ynh_exec_as $app
|
|
||||||
git clone https://github.com/iv-org/invidious "$install_dir" --quiet
|
git clone https://github.com/iv-org/invidious "$install_dir" --quiet
|
||||||
|
|
||||||
pushd "$install_dir"
|
pushd "$install_dir"
|
||||||
#ynh_exec_as $app
|
|
||||||
git reset --hard --quiet $version_commit
|
git reset --hard --quiet $version_commit
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue