Remove node app in template
This commit is contained in:
parent
d7780f284d
commit
0e7efa7766
|
@ -579,6 +579,10 @@ echo ' fi'
|
||||||
echo '}'
|
echo '}'
|
||||||
echo ''
|
echo ''
|
||||||
echo "function remove_${app_name} {"
|
echo "function remove_${app_name} {"
|
||||||
|
if [ "$app_nodeapp" ]; then
|
||||||
|
echo " npm uninstall -g ${app_nodeapp}"
|
||||||
|
echo ''
|
||||||
|
fi
|
||||||
if [[ "$app_node" == 'yes' ]]; then
|
if [[ "$app_node" == 'yes' ]]; then
|
||||||
echo " remove_nodejs ${app_name}"
|
echo " remove_nodejs ${app_name}"
|
||||||
echo ''
|
echo ''
|
||||||
|
|
Loading…
Reference in New Issue