mirror of
https://github.com/YunoHost-Apps/paperless-ngx_ynh.git
synced 2024-09-03 19:56:33 +02:00
commit
fda47eca3e
8 changed files with 27 additions and 9 deletions
|
@ -32,7 +32,7 @@ Paperless-ngx is a document management system that transforms your physical docu
|
||||||
* [More screenshots are available in the documentation](https://paperless-ngx.readthedocs.io/en/latest/screenshots.html).
|
* [More screenshots are available in the documentation](https://paperless-ngx.readthedocs.io/en/latest/screenshots.html).
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 1.11.3~ynh1
|
**Shipped version:** 1.13.0~ynh1
|
||||||
|
|
||||||
**Demo:** https://demo.paperless-ngx.com/
|
**Demo:** https://demo.paperless-ngx.com/
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ Paperless-ngx is a document management system that transforms your physical docu
|
||||||
* [More screenshots are available in the documentation](https://paperless-ngx.readthedocs.io/en/latest/screenshots.html).
|
* [More screenshots are available in the documentation](https://paperless-ngx.readthedocs.io/en/latest/screenshots.html).
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 1.11.3~ynh1
|
**Version incluse :** 1.13.0~ynh1
|
||||||
|
|
||||||
**Démo :** https://demo.paperless-ngx.com/
|
**Démo :** https://demo.paperless-ngx.com/
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
SOURCE_URL=https://github.com/paperless-ngx/paperless-ngx/releases/download/v1.11.3/paperless-ngx-v1.11.3.tar.xz
|
SOURCE_URL=https://github.com/paperless-ngx/paperless-ngx/releases/download/v1.13.0/paperless-ngx-v1.13.0.tar.xz
|
||||||
SOURCE_SUM=c0636475cce057e50377d64ef815cc496a2da5eb44ffe73f8c90001fee925e9b
|
SOURCE_SUM=f6544fdc300d349209385b429f8d38c76bdcde306771950604174f8f732f53ad
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.xz
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
SOURCE_FILENAME=
|
SOURCE_FILENAME=
|
||||||
SOURCE_EXTRACT=true
|
SOURCE_EXTRACT=true
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Scan, index and archive all your physical documents",
|
"en": "Scan, index and archive all your physical documents",
|
||||||
"fr": "Scannez, triez et archivez tous vos documents papiers"
|
"fr": "Scannez, triez et archivez tous vos documents papiers"
|
||||||
},
|
},
|
||||||
"version": "1.11.3~ynh1",
|
"version": "1.13.0~ynh1",
|
||||||
"url": "https://paperless-ngx.com",
|
"url": "https://paperless-ngx.com",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
|
|
|
@ -156,6 +156,12 @@ chmod 750 "$datadir"
|
||||||
chmod -R o-rwx "$datadir"
|
chmod -R o-rwx "$datadir"
|
||||||
chown -R $app:www-data "$datadir"
|
chown -R $app:www-data "$datadir"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# REMOVE TEMP DIRECTORY
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Cleanup temp directory..." --weight=1
|
||||||
|
ynh_secure_remove --file="/tmp/$app"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# ADD A CONFIGURATION
|
# ADD A CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -119,8 +119,8 @@ ynh_remove_app_dependencies
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Removing various files..." --weight=1
|
ynh_script_progression --message="Removing various files..." --weight=1
|
||||||
|
|
||||||
# Remove a directory securely
|
# Remove temp directory securely
|
||||||
#ynh_secure_remove --file="/etc/$app"
|
ynh_secure_remove --file="/tmp/$app"
|
||||||
|
|
||||||
# Remove the log files
|
# Remove the log files
|
||||||
ynh_secure_remove --file="/var/log/$app"
|
ynh_secure_remove --file="/var/log/$app"
|
||||||
|
|
|
@ -87,6 +87,12 @@ chmod 750 "$datadir"
|
||||||
chmod -R o-rwx "$datadir"
|
chmod -R o-rwx "$datadir"
|
||||||
chown -R $app:$app "$datadir"
|
chown -R $app:$app "$datadir"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# REMOVE TEMP DIRECTORY
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Cleanup temp directory..." --weight=1
|
||||||
|
ynh_secure_remove --file="/tmp/$app"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# ADD A CONFIGURATION
|
# ADD A CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -147,6 +147,12 @@ ynh_add_config --template="paperless.conf.example" --destination="$final_path/pa
|
||||||
chmod 400 "$final_path/paperless.conf"
|
chmod 400 "$final_path/paperless.conf"
|
||||||
chown $app:$app "$final_path/paperless.conf"
|
chown $app:$app "$final_path/paperless.conf"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# REMOVE TEMP DIRECTORY
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Cleanup temp directory..." --weight=1
|
||||||
|
ynh_secure_remove --file="/tmp/$app"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP THE DATABASE
|
# SETUP THE DATABASE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue