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:
parent
1f7d09e203
commit
fe4323a21d
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ install_source() {
|
||||||
temp_requirement=$(mktemp)
|
temp_requirement=$(mktemp)
|
||||||
cp $YNH_APP_BASEDIR/conf/requirement_$(lsb_release --codename --short).txt $temp_requirement
|
cp $YNH_APP_BASEDIR/conf/requirement_$(lsb_release --codename --short).txt $temp_requirement
|
||||||
chown $pgadmin_user:root $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
|
sudo -u $pgadmin_user env PATH=$PATH pip3 install --upgrade -r $temp_requirement
|
||||||
set +$u_arg;
|
set +$u_arg;
|
||||||
|
|
Loading…
Reference in a new issue