abuild: avoid print version multiple times
and respect -q flag
This commit is contained in:
parent
da720069ca
commit
d03366f80c
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user