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-01-27 01:41:11 +07:00
parent e1d23df8d0
commit 0b1d6c416b

View file

@ -168,8 +168,9 @@ then
chmod -R o-rwx "$d" chmod -R o-rwx "$d"
chown -R $app:www-data "$d" chown -R $app:www-data "$d"
pushd $mc_path pushd $mc_path
ynh_exec_warn_less sudo -u $app ./mc mirror --preserve --watch "$datadir/DATA_$d" minio/"$d" ynh_exec_warn_less sudo -u $app ./mc mirror --preserve "$datadir/DATA_$d" minio/"$d"
popd popd
ynh_secure_remove --file="DATA_$d"
done done
popd popd
else else