1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/invidious_ynh.git synced 2024-09-03 19:15:55 +02:00
This commit is contained in:
ericgaspar 2021-03-29 22:17:39 +02:00
parent a044836a10
commit 54f366c6ea
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 2 additions and 8 deletions

View file

@ -14,7 +14,6 @@
upgrade=1 upgrade=1
backup_restore=1 backup_restore=1
multi_instance=0 multi_instance=0
port_already_use=0
change_url=0 change_url=0
;;; Options ;;; Options
Email= Email=

View file

@ -69,7 +69,7 @@ ynh_script_progression --message="Installing dependencies..." --weight=9
#ynh_exec_warn_less apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 #ynh_exec_warn_less apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61
#ynh_install_extra_repo --repo="deb https://dl.bintray.com/crystal/deb all stable" --append #ynh_install_extra_repo --repo="deb https://dl.bintray.com/crystal/deb all stable" --append
curl -fsSL https://crystal-lang.org/install.sh | bash -s -- --crystal=0.36 ynh_exec_warn_less curl -fsSL https://crystal-lang.org/install.sh | bash -s -- --crystal=0.36
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
@ -133,7 +133,6 @@ popd || ynh_die
ynh_script_progression --message="Modifying a config file..." ynh_script_progression --message="Modifying a config file..."
ynh_add_config --template="../conf/config.yml" --destination="$final_path/config/config.yml" ynh_add_config --template="../conf/config.yml" --destination="$final_path/config/config.yml"
ynh_store_file_checksum --file="$final_path/config/config.yml"
#================================================= #=================================================
# SETUP SYSTEMD # SETUP SYSTEMD

View file

@ -75,7 +75,7 @@ ynh_script_progression --message="Upgrading dependencies..." --weight=8
#ynh_exec_warn_less apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 #ynh_exec_warn_less apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61
#ynh_install_extra_repo --repo="deb https://dl.bintray.com/crystal/deb all stable" --append #ynh_install_extra_repo --repo="deb https://dl.bintray.com/crystal/deb all stable" --append
curl -fsSL https://crystal-lang.org/install.sh | bash -s -- --crystal=0.36 ynh_exec_warn_less curl -fsSL https://crystal-lang.org/install.sh | bash -s -- --crystal=0.36
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
@ -117,12 +117,8 @@ ynh_system_user_create --username=$app
#================================================= #=================================================
ynh_script_progression --message="Modifying a config file..." --weight=3 ynh_script_progression --message="Modifying a config file..." --weight=3
ynh_backup_if_checksum_is_different --file="$final_path/config/config.yml"
ynh_add_config --template="../conf/config.yml" --destination="$final_path/config/config.yml" ynh_add_config --template="../conf/config.yml" --destination="$final_path/config/config.yml"
ynh_store_file_checksum --file="$final_path/config/config.yml"
#================================================= #=================================================
# SETUP SYSTEMD # SETUP SYSTEMD
#================================================= #=================================================