mirror of
https://github.com/YunoHost-Apps/outline_ynh.git
synced 2024-09-03 19:56:12 +02:00
Updates
This commit is contained in:
parent
3df01bc770
commit
d1692ba494
2 changed files with 18 additions and 0 deletions
|
@ -21,6 +21,15 @@ ynh_clean_setup () {
|
||||||
# Exit if an error occurs during the execution of the script
|
# Exit if an error occurs during the execution of the script
|
||||||
ynh_abort_if_errors
|
ynh_abort_if_errors
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# CHECK IF MINIO IS INSTALLED, IF NOT WARN USER
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Checking if MinIO is installed..." --time --weight=1
|
||||||
|
|
||||||
|
if ! yunohost app list | grep -q "id: minio"; then
|
||||||
|
echo "MinIO is not installed. Installing... "
|
||||||
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# LOAD SETTINGS
|
# LOAD SETTINGS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -21,6 +21,15 @@ ynh_clean_setup () {
|
||||||
# Exit if an error occurs during the execution of the script
|
# Exit if an error occurs during the execution of the script
|
||||||
ynh_abort_if_errors
|
ynh_abort_if_errors
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# CHECK IF MINIO IS INSTALLED, IF NOT WARN USER
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Checking if MinIO is installed..." --time --weight=1
|
||||||
|
|
||||||
|
if ! yunohost app list | grep -q "id: minio"; then
|
||||||
|
ynh_die --message="We can't restore because MinIO is not installed ! Please install MinIO first"
|
||||||
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# LOAD SETTINGS
|
# LOAD SETTINGS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue