This commit is contained in:
Josué Tille 2023-10-04 07:54:30 +02:00
parent 75142432de
commit 5608d53bce
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF
2 changed files with 5 additions and 4 deletions

View file

@ -28,13 +28,13 @@ fi
ynh_script_progression --message="Creating base directory..."
ln -s $data_dir $install_dir/seafile-data
# Check dependencies
install_dependance
# Download new version from sources
ynh_script_progression --message="Installing sources files..." --weight=7
ynh_setup_source --dest_dir=$install_dir/seafile-server-$seafile_version
ynh_script_progression --message="Installing python dependancies..."
install_dependance
# init databases
ynh_script_progression --message="Configuring MySQL database..."
db_user=seafile

View file

@ -66,10 +66,11 @@ fi
ynh_script_progression --message="Upgrading source files..." --weight=6
# Download new version from sources
ynh_script_progression --message="Installing sources files..." --weight=7
ynh_setup_source --dest_dir=$install_dir/seafile-server-$seafile_version
# Upgrade dependances
ynh_script_progression --message="Installing python dependancies..."
install_dependance
ynh_script_progression --message="Configuring application..."