summaryrefslogtreecommitdiffstats
path: root/upgpkg
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-06-07 17:11:02 +0200
committerFlorian Pritz <bluewind@xinu.at>2011-06-07 17:11:02 +0200
commitc7d009b326ef4f1d1525fa9f9d5ac207d55be059 (patch)
treed4fb0bbdeb97222efe0e0c97259abba18a0cb498 /upgpkg
parentfdfc78c283a5eb9fffd287651d7067e2927200cf (diff)
downloadbin-c7d009b326ef4f1d1525fa9f9d5ac207d55be059.tar.gz
bin-c7d009b326ef4f1d1525fa9f9d5ac207d55be059.tar.xz
upgpkg: make new pkgver accessable in scriptlets
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'upgpkg')
-rwxr-xr-xupgpkg2
1 files changed, 2 insertions, 0 deletions
diff --git a/upgpkg b/upgpkg
index 357140d..5c524a6 100755
--- a/upgpkg
+++ b/upgpkg
@@ -64,6 +64,8 @@ if [ -z "$1" ]; then
help
fi
+_newpkgver=$1
+
while getopts "gh" OPTION; do
case $OPTION in
g)