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

Fix small issues and make it rustup more light

This commit is contained in:
Josué Tille 2021-04-04 14:10:19 +02:00
parent 214e74a7b5
commit 164348515b
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF
2 changed files with 2 additions and 2 deletions

View file

@ -48,7 +48,7 @@ install_source() {
if [ -e $final_path/.rustup ]; then
sudo -u "$pgadmin_user" env PATH=$PATH rustup update
else
sudo -u "$pgadmin_user" bash -c 'curl -sSf -L https://static.rust-lang.org/rustup.sh | sh -s -- -y --default-toolchain=stable'
sudo -u "$pgadmin_user" bash -c 'curl -sSf -L https://static.rust-lang.org/rustup.sh | sh -s -- -y --default-toolchain=stable --profile=minimal'
fi
# Install virtualenv if it don't exist

View file

@ -37,7 +37,7 @@ ynh_install_app_dependencies $dependances
# Create user
ynh_script_progression --message="Recreating the dedicated system user..."
ynh_system_user_create --username $pgadmin_user --home_dir /var/lib/$app
ynh_system_user_create --username $pgadmin_user --home_dir $final_path
# Restore all config and data
ynh_script_progression --message="Restoring files..." --weight=5