projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b08064c
)
setup-all-dchroots: documentation comments
author
Peter Palfrader
<peter@palfrader.org>
Thu, 16 Aug 2018 08:04:53 +0000
(10:04 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Thu, 16 Aug 2018 08:04:53 +0000
(10:04 +0200)
modules/schroot/files/setup-all-dchroots
patch
|
blob
|
history
diff --git
a/modules/schroot/files/setup-all-dchroots
b/modules/schroot/files/setup-all-dchroots
index
7628081
..
58d0eca
100755
(executable)
--- a/
modules/schroot/files/setup-all-dchroots
+++ b/
modules/schroot/files/setup-all-dchroots
@@
-78,6
+78,13
@@
OPTIONS:
EOF
}
+##########
+# "main"
+##########
+
+
+# parse options
+##########
EXTRAARGS=""
while getopts "cu" OPTION
do
@@
-97,6
+104,8
@@
do
done
shift $(($OPTIND - 1))
+# parse arguments
+##########
if [ "$#" -gt 1 ]; then
usage >&2
exit 1
@@
-115,6
+124,8
@@
else
MODE=porterbox
fi
+# figure out whether to be verbose or not
+##########
if [ -t 0 ] ; then
SILENT=""
else
@@
-122,6
+133,8
@@
else
fi
+# get list of archs based on DPKGARCH
+##########
archs="$DPKGARCH"
case "$DPKGARCH" in
amd64)