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:
parent
214e74a7b5
commit
164348515b
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ install_source() {
|
||||||
if [ -e $final_path/.rustup ]; then
|
if [ -e $final_path/.rustup ]; then
|
||||||
sudo -u "$pgadmin_user" env PATH=$PATH rustup update
|
sudo -u "$pgadmin_user" env PATH=$PATH rustup update
|
||||||
else
|
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
|
fi
|
||||||
|
|
||||||
# Install virtualenv if it don't exist
|
# Install virtualenv if it don't exist
|
||||||
|
|
|
@ -37,7 +37,7 @@ ynh_install_app_dependencies $dependances
|
||||||
|
|
||||||
# Create user
|
# Create user
|
||||||
ynh_script_progression --message="Recreating the dedicated system 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
|
# Restore all config and data
|
||||||
ynh_script_progression --message="Restoring files..." --weight=5
|
ynh_script_progression --message="Restoring files..." --weight=5
|
||||||
|
|
Loading…
Reference in a new issue