diff --git a/scripts/install b/scripts/install index c024ffe..04a4107 100755 --- a/scripts/install +++ b/scripts/install @@ -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 diff --git a/scripts/upgrade b/scripts/upgrade index 92c4cd1..735a46f 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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 #================================================= diff --git a/sources/patches/app-config_sql.py.patch.src b/sources/patches/app-config_sql.py.patch.src index 6fad06e..903215d 100644 --- a/sources/patches/app-config_sql.py.patch.src +++ b/sources/patches/app-config_sql.py.patch.src @@ -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)