1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pgadmin_ynh.git synced 2024-09-03 19:56:38 +02:00

Fix permissions

This commit is contained in:
Josué Tille 2023-02-17 19:40:51 +01:00
parent 1f7d09e203
commit fe4323a21d
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF

View file

@ -63,6 +63,7 @@ install_source() {
temp_requirement=$(mktemp)
cp $YNH_APP_BASEDIR/conf/requirement_$(lsb_release --codename --short).txt $temp_requirement
chown $pgadmin_user:root $temp_requirement
chown $pgadmin_user:root -R $final_path
sudo -u $pgadmin_user env PATH=$PATH pip3 install --upgrade -r $temp_requirement
set +$u_arg;