diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-06-24 23:31:22 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-06-26 00:30:20 -0600 |
commit | 2a020d78f993f6834a7482f757d524d5a95afb2f (patch) | |
tree | b748d59242e60ea3dc8b3e1606b0bddda99ce0b5 /wrapper/rvs.sh | |
parent | f2112762334c10820436394aa109e71f63cf68b8 (diff) |
commit changes that have been sitting there for years, being copied from drive to drive
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 # ################################################################################ |