Add files via upload

This commit is contained in:
helixarch 2020-07-29 18:20:39 +03:00 committed by GitHub
parent dd82b9675d
commit 44aff8c10d
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 &> /dev/null) ]]; then
if [[ $(grep -q '^pkgname = lib32-' .PKGINFO; echo $?) != 0 ]] && [[ $(grep '^pkgname =' .PKGINFO | grep -q -- '-multilib$'; echo $?) != 0 ]] && [[ $(ls -A usr/bin 2> /dev/null) ]]; then
echo "$(grep '^pkgname =' .PKGINFO | sed s'/ //g')-bin" >> PKGBUILD
else
echo "$(grep '^pkgname =' .PKGINFO | sed s'/ //g')" >> PKGBUILD