diff --git a/manifest.json b/manifest.json index dfcff27..ade306f 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Browsing, reading and downloading eBooks using a Calibre database", "fr": "Explorer, lire et télécharger des eBooks à partir d'une base de données Calibre" }, - "version": "0.96.19~ynh3", + "version": "0.96.19~ynh4", "url": "https://github.com/janeczku/calibre-web", "upstream": { "version": "0.6.19", diff --git a/scripts/backup b/scripts/backup index 75680d2..c73535f 100755 --- a/scripts/backup +++ b/scripts/backup @@ -45,6 +45,12 @@ ynh_print_info --message="Declaring files to be backed up..." #This will backup the app.db file at the same time ynh_backup --src_path="$final_path" +#================================================= +# BACKUP THE KEPUBIFY BINARY +#================================================= + +ynh_backup --src_path="/opt/kepubify" + #================================================= # BACKUP THE NGINX CONFIGURATION #================================================= diff --git a/scripts/restore b/scripts/restore index bf8d9aa..6854252 100755 --- a/scripts/restore +++ b/scripts/restore @@ -69,6 +69,13 @@ ynh_system_user_create --username=$app ynh_script_progression --message="Restoring the app main directory..." --weight=1 ynh_restore_file --origin_path="$final_path" +#================================================= +# RESTORE THE KEPUBIFY BINARIES +#================================================= +ynh_script_progression --message="Restoring Kepubify..." --weight=1 +ynh_restore_file --origin_path="/opt/kepubify" + + #================================================= # RESTORE USER RIGHTS #=================================================