mirror of
https://github.com/YunoHost-Apps/fider_ynh.git
synced 2024-09-03 18:36:11 +02:00
commit
33e951f764
2 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ build_fider() {
|
|||
|
||||
install_golang_from_backports() {
|
||||
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"
|
||||
}
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@ ynh_system_user_create --username=$app --home_dir="$final_path"
|
|||
|
||||
# Moved fron /opt to /var/www
|
||||
if [ -d "/opt/yunohost/$app" ]; then
|
||||
rm -rf "$final_path"
|
||||
ynh_secure_remove -f "$final_path"
|
||||
mv "/opt/yunohost/$app" "$final_path"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue