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:
parent
9c32ba9149
commit
fe185e007d
2 changed files with 9 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
"en": "Photo management application that streamlines the process of storing, presenting and re-discovering photos",
|
"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"
|
"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/",
|
"url": "https://photonix.org/",
|
||||||
"license": "AGPL-3.0-only",
|
"license": "AGPL-3.0-only",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
|
|
@ -92,6 +92,14 @@ ynh_remove_logrotate
|
||||||
# Remove the log files
|
# Remove the log files
|
||||||
ynh_secure_remove --file="/var/log/$app"
|
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
|
# GENERIC FINALIZATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue