All pastes #830603 Raw Edit

functions

public text v1 · immutable
#830603 ·published 2007-12-24 02:51 UTC
rendered paste body
is_installed() {

    PROGRAM=$1

    PATHNAME=$1
    if [ -z "$PATHNAME" ]; then
        echo "cannot locate $PROTRAM in path"
        exit 1
     fi

}