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-01 23:27:45 +07:00
parent 2d2ed47ca5
commit ca1a3424ec

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"
mv "$datadir/*" "$tmp" mv "$datadir/" "$tmp"
mkdir "$datadir" mkdir "$datadir"
chmod 750 "$datadir" chmod 750 "$datadir"
chmod -R o-rwx "$datadir" chmod -R o-rwx "$datadir"