Semplificato il recupero delle informazioni di path

This commit is contained in:
Guido Longoni
2020-01-08 17:00:58 +01:00
parent 34c074099b
commit f229137fc8
6 changed files with 55 additions and 71 deletions
-6
View File
@@ -1,9 +1,5 @@
#! /bin/bash --
[ ! -z "${GREZZO_1577142009}" ] && return; GREZZO_1577142009=0
unset CDPATH
DOVE="$(cd "$(dirname "$(readlink -f -- "${BASH_SOURCE[0]}")")" > /dev/null && pwd -P)"
. "$DOVE/../grezzo.sh"
function feat_addpacks_npm_dev() {
if ! feat_missing "apt-get"; then
@@ -31,5 +27,3 @@ function feat_add_npm() {
curl -L https://raw.githubusercontent.com/tj/n/master/bin/n | bash -s latest
npm install -g n
}
unset DOVE