1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/plume_ynh.git synced 2024-09-03 20:15:54 +02:00
This commit is contained in:
Éric Gaspar 2023-06-02 11:59:58 +02:00
parent f813a669da
commit aaca75df11
2 changed files with 3 additions and 3 deletions

View file

@ -92,9 +92,9 @@ pushd $install_dir/$app
# Add new instance
if [ $registration -eq 1 ]
then
sudo -u "$app" env PATH=$PATH plm instance new --domain "$domain" --name "$instance_name" -l 'CC-BY'
sudo -u "$app" env PATH=$PATH plm instance new --domain "$domain" --name "$name" -l 'CC-BY'
else
sudo -u "$app" env PATH=$PATH plm instance new --private --domain "$domain" --name "$instance_name" -l 'CC-BY'
sudo -u "$app" env PATH=$PATH plm instance new --private --domain "$domain" --name "$name" -l 'CC-BY'
fi
# Add admin user

View file

@ -33,7 +33,7 @@ then
ynh_script_progression --message="Upgrading source files..."
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir/$app" --source_id=$architecture --keep="$app/.env"
ynh_setup_source --dest_dir="$install_dir/$app" --keep="$app/.env"
# Move binaries
mv $install_dir/$app/bin/* $install_dir/.cargo/bin/