1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fider_ynh.git synced 2024-09-03 18:36:11 +02:00

Merge pull request #5 from YunoHost-Apps/testing

Fixes
This commit is contained in:
Éric Gaspar 2022-12-24 21:43:11 +01:00 committed by GitHub
commit 33e951f764
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -45,7 +45,7 @@ build_fider() {
install_golang_from_backports() { install_golang_from_backports() {
ynh_exec_warn_less ynh_install_extra_app_dependencies \ ynh_exec_warn_less ynh_install_extra_app_dependencies \
--repo="deb http://deb.debian.org/debian $version-backports main contrib non-free" \ --repo="deb http://deb.debian.org/debian $(ynh_get_debian_release)-backports main contrib non-free" \
--package="$pkg_dependency_golang" --package="$pkg_dependency_golang"
} }

View file

@ -74,7 +74,7 @@ ynh_system_user_create --username=$app --home_dir="$final_path"
# Moved fron /opt to /var/www # Moved fron /opt to /var/www
if [ -d "/opt/yunohost/$app" ]; then if [ -d "/opt/yunohost/$app" ]; then
rm -rf "$final_path" ynh_secure_remove -f "$final_path"
mv "/opt/yunohost/$app" "$final_path" mv "/opt/yunohost/$app" "$final_path"
fi fi