1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/photonix_ynh.git synced 2024-09-03 19:56:29 +02:00

Remove NodeJS on uninstall

This commit is contained in:
Jules Bertholet 2021-05-31 00:39:15 -04:00
parent 9c32ba9149
commit fe185e007d
2 changed files with 9 additions and 1 deletions

View file

@ -6,7 +6,7 @@
"en": "Photo management application that streamlines the process of storing, presenting and re-discovering photos",
"fr": "Application de gestion de photos qui simplifie le processus de stocker, présenter er re-découvrir ses photos"
},
"version": "0.6.0~ynh1",
"version": "0.6.0~ynh2",
"url": "https://photonix.org/",
"license": "AGPL-3.0-only",
"maintainer": {

View file

@ -92,6 +92,14 @@ ynh_remove_logrotate
# Remove the log files
ynh_secure_remove --file="/var/log/$app"
#=================================================
# REMOVE NODEJS
#=================================================
ynh_script_progression --message="Removing Node.js..." --weight=1
# Remove the app-specific logrotate config
ynh_remove_nodejs
#=================================================
# GENERIC FINALIZATION
#=================================================