diff options
Diffstat (limited to 'wrapper/rvs.sh')
-rw-r--r-- | wrapper/rvs.sh | 33 |
1 files changed, 1 insertions, 32 deletions
diff --git a/wrapper/rvs.sh b/wrapper/rvs.sh index 101268f..19a8188 100644 --- a/wrapper/rvs.sh +++ b/wrapper/rvs.sh @@ -20,6 +20,7 @@ ver='0.9' export RVS="$0" #RVS='@RVS@' BINDIR='@BINDIR@' + DEPDIR='@DEPDIR@' baseTMPDIR='@TMPDIR@' export LIBDIR='@LIBDIR@' export ETCDIR='@ETCDIR@' @@ -131,38 +132,6 @@ _init() { } ################################################################################ -# Builtin commands -- installing modules # -################################################################################ - -_install() { - usage="usage: $RVS install FILE COMMAND ID [PRIORITY]" - file=${1?"$usage"} - command=${2?"$usage"} - id=${3?"$usage"} - priority=${4-"`_nextpriority "$command"`"} - - install -d "$BINDIR/$command" - install "$file" "$BINDIR/$command/$priority-$id" -} - -_uninstall() { - usage="usage: $RVS uninstall COMMAND [ID]" - command=${1?"$usage"} - id=$2 - - if [ -z "$id" ]; then - # no ID specified - rm "$BINDIR/$command" - else - # ID specified - rm "$BINDIR/$command/"*-"$id" - if [ -z "$(ls "$BINDIR/$command")" ]; then - rmdir "$BINDIR/$command" - fi - fi -} - -################################################################################ # Main # ################################################################################ |