Fix install

This commit is contained in:
Josué Tille 2023-11-28 22:06:09 +01:00
parent 1d12d39bdf
commit 71139bcaa1
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF

View file

@ -27,6 +27,7 @@ fi
ynh_script_progression --message="Creating base directory..." ynh_script_progression --message="Creating base directory..."
ln -s $data_dir $install_dir/seafile-data ln -s $data_dir $install_dir/seafile-data
mkdir -p $install_dir/logs
if [ -n "$(ls -A $data_dir)" ]; then if [ -n "$(ls -A $data_dir)" ]; then
old_data_dir_path="${data_dir}_$(date '+%Y%m%d.%H%M%S')" old_data_dir_path="${data_dir}_$(date '+%Y%m%d.%H%M%S')"