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