diff --git a/scripts/_common.sh b/scripts/_common.sh index 9aed657..aaeac80 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -37,7 +37,7 @@ install_source() { # Fix multi-instance support for f in "$install_dir"/venv/bin/*; do if ! [[ $f =~ "__" ]]; then - ynh_replace_special_string --match_string='#!'/opt/yunohost/pgadmin/venv --replace_string='#!'"$code_dir"/venv --target_file="$f" + ynh_replace_special_string --match_string='#!'/opt/yunohost/pgadmin/venv --replace_string='#!'"$install_dir"/venv --target_file="$f" fi done else