1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/minio_ynh.git synced 2024-09-03 19:46:18 +02:00

Update upgrade

This commit is contained in:
Limezy 2023-02-02 00:04:06 +07:00
parent c69524771c
commit 541fb67a83

View file

@ -137,7 +137,7 @@ if ynh_compare_current_package_version --comparison lt --version 2022.12.12~ynh1
then then
ynh_script_progression --message="Moving old Filesystem to secure MinIO start" ynh_script_progression --message="Moving old Filesystem to secure MinIO start"
tmp="/tmp/minio" tmp="/tmp/minio"
ynh_exec_warn_less cp -Ra "$datadir/" "$tmp" ynh_exec_warn_less cp -Ra "$datadir" "$tmp"
ynh_secure_remove --file="$datadir" ynh_secure_remove --file="$datadir"
ynh_exec_warn_less mkdir "$datadir" ynh_exec_warn_less mkdir "$datadir"
chmod 750 "$datadir" chmod 750 "$datadir"