From 206e003ca6f5b2500976f04a0dbb0b8a167fb3bf Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 24 Jun 2015 23:31:22 -0600 Subject: commit changes that have been sitting there for years, being copied from drive to drive --- rvs/wrapper/rvs.sh | 33 +-------------------------------- 1 file changed, 1 insertion(+), 32 deletions(-) (limited to 'rvs/wrapper/rvs.sh') diff --git a/rvs/wrapper/rvs.sh b/rvs/wrapper/rvs.sh index 101268f..19a8188 100644 --- a/rvs/wrapper/rvs.sh +++ b/rvs/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@' @@ -130,38 +131,6 @@ _init() { fi } -################################################################################ -# 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 # ################################################################################ -- cgit v1.2.3