summaryrefslogtreecommitdiff
path: root/plugins/files/bin/get.f.sh
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/files/bin/get.f.sh')
-rw-r--r--plugins/files/bin/get.f.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/files/bin/get.f.sh b/plugins/files/bin/get.f.sh
index 00508ab..e3d5edc 100644
--- a/plugins/files/bin/get.f.sh
+++ b/plugins/files/bin/get.f.sh
@@ -23,5 +23,7 @@ usage="FILENAME ID"
name="`getvar "$1"`"
id="`getvar "$2"`"
-install -T "$REPO/@ID@/$id" "$name"
+hash="`"$RVS" blob-gethash "$id"`"
+
+install -T "$REPO/@ID@/$hash" "$name"