mirror of
https://github.com/YunoHost-Apps/plume_ynh.git
synced 2024-09-03 20:15:54 +02:00
fix
This commit is contained in:
parent
f813a669da
commit
aaca75df11
2 changed files with 3 additions and 3 deletions
|
@ -92,9 +92,9 @@ pushd $install_dir/$app
|
||||||
# Add new instance
|
# Add new instance
|
||||||
if [ $registration -eq 1 ]
|
if [ $registration -eq 1 ]
|
||||||
then
|
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
|
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
|
fi
|
||||||
|
|
||||||
# Add admin user
|
# Add admin user
|
||||||
|
|
|
@ -33,7 +33,7 @@ then
|
||||||
ynh_script_progression --message="Upgrading source files..."
|
ynh_script_progression --message="Upgrading source files..."
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# 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
|
# Move binaries
|
||||||
mv $install_dir/$app/bin/* $install_dir/.cargo/bin/
|
mv $install_dir/$app/bin/* $install_dir/.cargo/bin/
|
||||||
|
|
Loading…
Add table
Reference in a new issue