Merge pull request #48 from BrunoChevalier/master

Fix small typos in output
This commit is contained in:
helixarch 2020-04-24 13:50:09 +03:00 committed by GitHub
commit 93382a0e8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
debtap
View File

@ -3347,7 +3347,7 @@ elif [[ $data_tar_check == data.tar ]]; then
fi fi
if [[ -e pkgbuildinstallations1 ]] || [[ -e pkgbuildinstallations2 ]] || [[ -e pkgbuildinstallations32 ]] || [[ -e pkgbuildinstallations64 ]]; then if [[ -e pkgbuildinstallations1 ]] || [[ -e pkgbuildinstallations2 ]] || [[ -e pkgbuildinstallations32 ]] || [[ -e pkgbuildinstallations64 ]]; then
if [[ $(grep '^install' pkgbuildinstallations1 2> /dev/null | wc -l) != $(echo $(($(cat pkgbuildinstallations1 2> /dev/null | wc -l) + $(cat pkgbuildinstallations2 2> /dev/null | wc -l) + $(cat pkgbuildinstallations32 2> /dev/null | wc -l) + $(cat pkgbuildinstallations64 2> /dev/null | wc -l)))) ]]; then if [[ $(grep '^install' pkgbuildinstallations1 2> /dev/null | wc -l) != $(echo $(($(cat pkgbuildinstallations1 2> /dev/null | wc -l) + $(cat pkgbuildinstallations2 2> /dev/null | wc -l) + $(cat pkgbuildinstallations32 2> /dev/null | wc -l) + $(cat pkgbuildinstallations64 2> /dev/null | wc -l)))) ]]; then
echo -e "\n # Fix directories structure differencies\n cd \"\${pkgdir}\"" >> PKGBUILD echo -e "\n # Fix directory structure differences\n cd \"\${pkgdir}\"" >> PKGBUILD
fi fi
fi fi
if [[ -e pkgbuildinstallations1 ]]; then if [[ -e pkgbuildinstallations1 ]]; then