Commit d03366f8 authored by Natanael Copa's avatar Natanael Copa

abuild: avoid print version multiple times

and respect -q flag
parent da720069
......@@ -2423,7 +2423,6 @@ while getopts "AcdD:fFhkKimnp:P:qrRs:uv" opt; do
done
shift $(( $OPTIND - 1 ))
echo "$program $program_version"
# check so we are not root
if [ $(id -u) -eq 0 ] && [ -z "$FAKEROOTKEY" ]; then
[ -z "$forceroot" ] && die "Do not run abuild as root"
......@@ -2481,6 +2480,9 @@ if [ -n "$subpkgname" ]; then
origsubpackages="$subpackages"
subpackages=
else
if [ -z "$FAKEROOTKEY" ]; then
msg "$program $program_version"
fi
allpackages="$pkgname $subpackages"
for i in $linguas; do
allpackages="$allpackages $pkgname-lang-$i::noarch"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment