Add files via upload

This commit is contained in:
helixarch 2020-07-29 18:19:18 +03:00 committed by GitHub
parent ea0f2fe475
commit dd82b9675d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
debtap
View File

@ -3186,7 +3186,7 @@ else
echo "# Maintainer: $(grep '^packager =' .PKGINFO | gawk '{print $3}')" >> PKGBUILD
echo "# Contributor: $(grep '^packager =' .PKGINFO | gawk '{print $3}')" >> PKGBUILD
fi
if [[ $(grep -q '^pkgname = lib32-' .PKGINFO; echo $?) != 0 ]] && [[ $(grep '^pkgname =' .PKGINFO | grep -q -- '-multilib$'; echo $?) != 0 ]] && [[ $(ls -A usr/bin 2> /dev/null) ]]; then
if [[ $(grep -q '^pkgname = lib32-' .PKGINFO; echo $?) != 0 ]] && [[ $(grep '^pkgname =' .PKGINFO | grep -q -- '-multilib$'; echo $?) != 0 ]] && [[ $(ls -A usr/bin &> /dev/null) ]]; then
echo "$(grep '^pkgname =' .PKGINFO | sed s'/ //g')-bin" >> PKGBUILD
else
echo "$(grep '^pkgname =' .PKGINFO | sed s'/ //g')" >> PKGBUILD