From eae63a74cf8f5de43f9a5a6e9c888f5ddd20ee1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Tue, 30 Jan 2024 15:36:17 +0100 Subject: [PATCH] fix permissions --- scripts/_common.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index bb16de0..6d5f31c 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -34,7 +34,8 @@ _install_pgadmin_venv() { ynh_exec_as "$app" "$venvpy" -m pip install --upgrade --no-cache-dir pip wheel ynh_exec_as "$app" "$venvpy" -m pip install --upgrade --no-cache-dir --ignore-installed "psycopg[c]" - ynh_exec_as "$app" "$venvpy" -m pip install --upgrade -r "$YNH_APP_BASEDIR/conf/requirement_$(lsb_release --codename --short).txt" + cp "$YNH_APP_BASEDIR/conf/requirement_$(lsb_release --codename --short).txt" "$install_dir/requirements.txt" + ynh_exec_as "$app" "$venvpy" -m pip install --upgrade -r "$install_dir/requirements.txt" } config_pgadmin() {