summaryrefslogtreecommitdiff
path: root/asp32.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-11 11:54:38 +0100
committerErich Eckner <git@eckner.net>2019-02-11 11:54:38 +0100
commitab9921aacc92c4615fa448644ded1f3e92a6ac60 (patch)
treeae18b3ceeac3c4a11dedd84774965aea53720628 /asp32.in
parent0353a5d9eac206a0b717a4dfe3b76aa6b8b4f334 (diff)
parent5cd27dc16d8b1ae256a97feb70c54490ca4f8d45 (diff)
downloadasp32-ab9921aacc92c4615fa448644ded1f3e92a6ac60.tar.xz
Merge branch 'next'
Diffstat (limited to 'asp32.in')
-rw-r--r--asp32.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/asp32.in b/asp32.in
index e467a3e..6b384cc 100644
--- a/asp32.in
+++ b/asp32.in
@@ -5,6 +5,7 @@ ARCH_GIT_REPOS=(packages64 community64 packages32)
OPT_ARCH=$(uname -m)
OPT_FORCE=0
+OPT_UPSTREAM=0
: "${ASPROOT:=${XDG_CACHE_HOME:-$HOME/.cache}/asp32}"
: "${ASPCACHE:=$ASPROOT/cache}"
@@ -23,6 +24,7 @@ Options:
-a ARCH Specify an architecture other than the host's
-f Allow files to be overwritten
-h Show this help
+ -u Behave as upstream asp
-V Show package version
Package Commands:
@@ -346,7 +348,7 @@ dispatch_action() {
initialize || log_fatal 'failed to initialize asp repository in %s' "$ASPROOT"
-while getopts ':a:fhV' flag; do
+while getopts ':a:fhuV' flag; do
case $flag in
a)
OPT_ARCH=$OPTARG
@@ -358,6 +360,9 @@ while getopts ':a:fhV' flag; do
usage
exit 0
;;
+ u)
+ OPT_UPSTREAM=1
+ ;;
V)
version
exit 0