diff --git a/stpkg b/stpkg index d1d47c5dd5758ed921674255f75f15593135eb3f..9a1b9502e881f16e2b0e37803ea00dfe40a4a7ca 100755 --- a/stpkg +++ b/stpkg @@ -49,13 +49,12 @@ require() { for CMD in $*; do local __cmd=`which $1` [ $? -ne 0 ] && die "Failed to find the '$1' command" - alias $CMD=$__cmd REQUIREMENTS="$CMD $REQUIREMENTS" done } require \ md5sum mktemp column uuidgen convert montage identify python curl \ - sed tr git sponge ls find jq chmod cat expr + sed tr git sponge ls find jq chmod cat expr iconv __grep=`which egrep` if [ $? -ne 0 ]; then __grep=`which grep` @@ -63,7 +62,6 @@ if [ $? -ne 0 ]; then warn "Cound not find 'egrep', will use 'grep' instead." \ "Please, note that some functionalities may not work with regular expressions." fi -alias grep=$__grep SELF=`readlink -f "$0"` MD5=`md5sum $SELF` @@ -388,7 +386,7 @@ cat << EOF `__green STPKG_NO_MSG` `__italic $($COLOR_STNOMSG $STPKG_NO_MSG)` `__green STPKG_HOMESERV` `__italic $STPKG_HOMESERV` `__green STPKG_TOKEN` $TOKEN -`__bold aliased commands due to the '"require"' function:` +`__bold required commands due to the '"require"' function:` safe (system) `__green $SAFE` unsafe (user) $UNSAFE EOF