From ea0f2fe475791ce84b46107e0dc1676dd2612fae Mon Sep 17 00:00:00 2001 From: helixarch Date: Wed, 29 Jul 2020 18:13:54 +0300 Subject: [PATCH] Add files via upload --- debtap | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debtap b/debtap index 14bbc77..87d79b0 100755 --- a/debtap +++ b/debtap @@ -15,7 +15,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -Version=3.3.1 +Version=3.3.2 # Defining colors and bold letters lightgreen='\e[1;32m' @@ -3186,9 +3186,9 @@ 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) ]]; 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 +else echo "$(grep '^pkgname =' .PKGINFO | sed s'/ //g')" >> PKGBUILD fi echo "$(grep '^pkgver =' .PKGINFO | sed -e s'/ //g' -e s'/-/ /g' | gawk '{print $1}')" >> PKGBUILD