Run shellcheck
This commit is contained in:
parent
5d4590b055
commit
a3fc1d1929
|
@ -17,7 +17,7 @@ installAurDeps() {
|
|||
set +e
|
||||
pkgInfo=$(pacman -Ss "${pkgName}" 2> /dev/null)
|
||||
set -e
|
||||
if ! echo $pkgInfo | grep -q "\/${pkgName} "; then
|
||||
if ! echo "$pkgInfo" | grep -q "\/${pkgName} "; then
|
||||
aurPkgs+=("$pkgName")
|
||||
fi
|
||||
done
|
||||
|
@ -106,7 +106,6 @@ runScript() {
|
|||
getInputs
|
||||
addUser
|
||||
|
||||
baseDir="$PWD"
|
||||
if [ -n "$pkgDir" ] && [ "$pkgDir" != "." ]; then
|
||||
inBaseDir=false
|
||||
cd "$pkgDir"
|
||||
|
|
Loading…
Reference in New Issue