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:
parent
dc3f2bb6a4
commit
47df77cd08
3 changed files with 3 additions and 3 deletions
|
@ -139,7 +139,7 @@ yunohost service add $app --description="Browse eBook in the web" --log="$log_fi
|
||||||
chown -R $app: $install_dir
|
chown -R $app: $install_dir
|
||||||
chmod 740 $install_dir
|
chmod 740 $install_dir
|
||||||
chown -R $app: /opt/kepubify
|
chown -R $app: /opt/kepubify
|
||||||
chmod 770 /opt/kepubify/kepubify-linux-$mach
|
chmod 770 /opt/kepubify/kepubify
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP FAIL2BAN
|
# SETUP FAIL2BAN
|
||||||
|
|
|
@ -77,7 +77,7 @@ if [ -z $(sqlite3 $install_dir/app.db "SELECT config_kepubifypath FROM settings"
|
||||||
fi
|
fi
|
||||||
if [ ! -d /opt/kepubify ]; then
|
if [ ! -d /opt/kepubify ]; then
|
||||||
ynh_setup_source --dest_dir="/opt/kepubify" --source_id="kepubify"
|
ynh_setup_source --dest_dir="/opt/kepubify" --source_id="kepubify"
|
||||||
chmod 770 /opt/kepubify/kepubify-linux-$mach
|
chmod 770 /opt/kepubify/kepubify
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
config_ldap_group_name = Column(String, default='calibreweb')
|
config_ldap_group_name = Column(String, default='calibreweb')
|
||||||
|
|
||||||
- config_kepubifypath = Column(String, default=None)
|
- 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_converterpath = Column(String, default=None)
|
||||||
config_calibre = Column(String)
|
config_calibre = Column(String)
|
||||||
config_rarfile_location = Column(String, default=None)
|
config_rarfile_location = Column(String, default=None)
|
||||||
|
|
Loading…
Add table
Reference in a new issue