summaryrefslogtreecommitdiff
path: root/rvs/wrapper/rvs.sh
diff options
context:
space:
mode:
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 #
################################################################################