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-24 15:22:15 +07:00
parent 8b157b5d13
commit 0c219315b7

View file

@ -199,7 +199,7 @@ then
ynh_script_progression --message="Migrating bucket $d" ynh_script_progression --message="Migrating bucket $d"
pushd $mc_path pushd $mc_path
ynh_exec_warn_less sudo -u $app ./mc mb minio/"$d" ynh_exec_warn_less sudo -u $app ./mc mb minio/"$d"
ynh_exec_warn_less sudo -u $app ./mc mirror --preserve "$tmp/$d" "minio/$d" ynh_exec_warn_less sudo -u $app ./mc cp --recursive "$tmp/$d" "minio/$d"
# This is a hack, but it will make outline_ynh users' lifes much easier ! # This is a hack, but it will make outline_ynh users' lifes much easier !
if [ "$d" == "outlinestorage" ] if [ "$d" == "outlinestorage" ]
then then