1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/calibreweb_ynh.git synced 2024-09-03 18:16:20 +02:00

Fix kepubify

This commit is contained in:
Krakinou 2023-07-29 00:22:34 +02:00
parent dc3f2bb6a4
commit 47df77cd08
3 changed files with 3 additions and 3 deletions

View file

@ -139,7 +139,7 @@ yunohost service add $app --description="Browse eBook in the web" --log="$log_fi
chown -R $app: $install_dir
chmod 740 $install_dir
chown -R $app: /opt/kepubify
chmod 770 /opt/kepubify/kepubify-linux-$mach
chmod 770 /opt/kepubify/kepubify
#=================================================
# SETUP FAIL2BAN

View file

@ -77,7 +77,7 @@ if [ -z $(sqlite3 $install_dir/app.db "SELECT config_kepubifypath FROM settings"
fi
if [ ! -d /opt/kepubify ]; then
ynh_setup_source --dest_dir="/opt/kepubify" --source_id="kepubify"
chmod 770 /opt/kepubify/kepubify-linux-$mach
chmod 770 /opt/kepubify/kepubify
fi
#=================================================

View file

@ -55,7 +55,7 @@
config_ldap_group_name = Column(String, default='calibreweb')
- config_kepubifypath = Column(String, default=None)
+ config_kepubifypath = Column(String, default='/opt/kepubify/kepubify-linux-__MACH__')
+ config_kepubifypath = Column(String, default='/opt/kepubify/kepubify')
config_converterpath = Column(String, default=None)
config_calibre = Column(String)
config_rarfile_location = Column(String, default=None)