mirror of
https://github.com/YunoHost-Apps/minio_ynh.git
synced 2024-09-03 19:46:18 +02:00
v2
This commit is contained in:
parent
b4eec09d9a
commit
0640ca56a3
2 changed files with 4 additions and 4 deletions
|
@ -17,8 +17,8 @@ source /usr/share/yunohost/helpers
|
||||||
ynh_script_progression --message="Setting up source files..." --weight=10
|
ynh_script_progression --message="Setting up source files..." --weight=10
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source --dest_dir="$install_dir/minio" --source_id="minio"
|
ynh_setup_source --dest_dir="$install_dir" --source_id="minio"
|
||||||
ynh_setup_source --dest_dir="$install_dir/mc" --source_id="mc"
|
ynh_setup_source --dest_dir="$install_dir" --source_id="mc"
|
||||||
|
|
||||||
chmod 750 "$install_dir"
|
chmod 750 "$install_dir"
|
||||||
chmod -R o-rwx "$install_dir"
|
chmod -R o-rwx "$install_dir"
|
||||||
|
|
|
@ -77,8 +77,8 @@ then
|
||||||
ynh_script_progression --message="Upgrading source files..." --weight=5
|
ynh_script_progression --message="Upgrading source files..." --weight=5
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source --dest_dir="$install_dir/minio"
|
ynh_setup_source --dest_dir="$install_dir" --source_id="minio"
|
||||||
ynh_setup_source --dest_dir="$install_dir/mc" --source_id="mc"
|
ynh_setup_source --dest_dir="$install_dir" --source_id="mc"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chmod 750 "$install_dir"
|
chmod 750 "$install_dir"
|
||||||
|
|
Loading…
Add table
Reference in a new issue