summaryrefslogtreecommitdiff
path: root/rvs/wrapper/rvs.sh
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-06-24 23:31:22 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-26 00:30:20 -0600
commit206e003ca6f5b2500976f04a0dbb0b8a167fb3bf (patch)
treeca2cc3db54078bdd13037ab623b0103c098466d8 /rvs/wrapper/rvs.sh
parent662ea51a86049853c0a8e279e5b515b80d5123d8 (diff)
commit changes that have been sitting there for years, being copied from drive to drive
Diffstat (limited to 'rvs/wrapper/rvs.sh')
-rw-r--r--rvs/wrapper/rvs.sh33
1 files changed, 1 insertions, 32 deletions
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@'
@@ -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 #
################################################################################