mirror of
https://github.com/YunoHost-Apps/minio_ynh.git
synced 2024-09-03 19:46:18 +02:00
Cleaning
This commit is contained in:
parent
71ee448214
commit
9ad81dc9b0
2 changed files with 4 additions and 6 deletions
|
@ -4,8 +4,6 @@
|
|||
# COMMON VARIABLES
|
||||
#=================================================
|
||||
|
||||
# dependencies used by the app
|
||||
|
||||
#=================================================
|
||||
# PERSONAL HELPERS
|
||||
#=================================================
|
||||
|
|
|
@ -38,15 +38,15 @@ then
|
|||
done
|
||||
if ynh_compare_current_package_version --comparison eq --version 2022.09.01~ynh1
|
||||
then
|
||||
ynh_die --message="Sorry, your MinIO instance requires a complex manual migration. Please contact Limezy on the Yunohost forum"
|
||||
ynh_die --message="Sorry, your MinIO instance requires a complex manual migration. Please contact Limezy on the YunoHost forum"
|
||||
fi
|
||||
if ynh_compare_current_package_version --comparison eq --version 2022.11.11~ynh1
|
||||
then
|
||||
ynh_die --message="Sorry, your MinIO instance requires a complex manual migration. Please contact Limezy on the Yunohost forum"
|
||||
ynh_die --message="Sorry, your MinIO instance requires a complex manual migration. Please contact Limezy on the YunoHost forum"
|
||||
fi
|
||||
if ynh_compare_current_package_version --comparison eq --version 2023.01.11~ynh1
|
||||
then
|
||||
ynh_die --message="Sorry, your MinIO instance requires a complex manual migration. Please contact Limezy on the Yunohost forum"
|
||||
ynh_die --message="Sorry, your MinIO instance requires a complex manual migration. Please contact Limezy on the YunoHost forum"
|
||||
fi
|
||||
popd
|
||||
ynh_secure_remove --file="$data_dir"
|
||||
|
@ -112,7 +112,7 @@ yunohost service add $app --description="A High Performance, Kubernetes Native O
|
|||
#=================================================
|
||||
ynh_script_progression --message="Updating a configuration file..."
|
||||
|
||||
ynh_add_config --template="../conf/.env" --destination="$install_dir/.env"
|
||||
ynh_add_config --template=".env" --destination="$install_dir/.env"
|
||||
|
||||
chmod 400 "$install_dir/.env"
|
||||
chown $app:$app "$install_dir/.env"
|
||||
|
|
Loading…
Add table
Reference in a new issue