summaryrefslogtreecommitdiff
path: root/helper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'helper.sh')
-rwxr-xr-xhelper.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/helper.sh b/helper.sh
index a9c741d1d..2db729b70 100755
--- a/helper.sh
+++ b/helper.sh
@@ -8,6 +8,7 @@ export PKG_STAT=${PKG_BASE}/stat/${PKG_NAME}
export PKG_DATA=$(echo "${PKG_BASE}"/data/"${PKG_NAME}"?(_))
export PKG_VRSN=$(cat "${PKG_DATA}/_metadata/version")
export PKG_PRIO=$(cat "${PKG_DATA}/_metadata/priority")
+export PKG_RVSN=$(cat "${PKG_STAT}/dest-ver" 2>/dev/null)
if [[ ! -e ${PKG_DATA} ]]; then
echo "unknown package: ${PKG_NAME}" 1>&2