From 6d06d01e3404a5ef3273d76dc9f25f9dd16b5aff Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 28 Apr 2020 19:39:09 +0200 Subject: [PATCH] remove nodejs --- scripts/_common.sh | 22 ++++++++++++++++++++++ scripts/remove | 3 +++ 2 files changed, 25 insertions(+) create mode 100644 scripts/_common.sh diff --git a/scripts/_common.sh b/scripts/_common.sh new file mode 100644 index 0000000..3cfc4ff --- /dev/null +++ b/scripts/_common.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +#================================================= +# COMMON VARIABLES +#================================================= + +# dependencies used by the app +pkg_dependencies="postgresql apt-transport-https" + +nodejs_version=10 + +#================================================= +# PERSONAL HELPERS +#================================================= + +#================================================= +# EXPERIMENTAL HELPERS +#================================================= + +#================================================= +# FUTURE OFFICIAL HELPERS +#================================================= \ No newline at end of file diff --git a/scripts/remove b/scripts/remove index 1c60fab..80d18fb 100644 --- a/scripts/remove +++ b/scripts/remove @@ -6,6 +6,7 @@ # IMPORT GENERIC HELPERS #================================================= +source _common.sh source /usr/share/yunohost/helpers #================================================= @@ -57,6 +58,8 @@ ynh_script_progression --message="Removing dependencies" # Remove metapackage and its dependencies ynh_remove_app_dependencies +ynh_remove_nodejs + #================================================= # REMOVE APP MAIN DIR #=================================================