Fix typo
This commit is contained in:
parent
d254074e7a
commit
391d095245
|
@ -210,7 +210,7 @@ installPackage() {
|
||||||
;;
|
;;
|
||||||
B)
|
B)
|
||||||
runInChroot "pacman -Q ${1}" 2>&1 | debug
|
runInChroot "pacman -Q ${1}" 2>&1 | debug
|
||||||
[ $? -eq 0 ] && [ "$4" != "R" ] && return
|
[ $? -eq 0 ] && [ "$2" != "R" ] && return
|
||||||
if [ $debugFlagToStdout = true ] || [ $debugFlag = true ]; then
|
if [ $debugFlagToStdout = true ] || [ $debugFlag = true ]; then
|
||||||
runInChroot "script -qec \"pacman -S --noconfirm ${1}\" /dev/null" 2>&1 | debug
|
runInChroot "script -qec \"pacman -S --noconfirm ${1}\" /dev/null" 2>&1 | debug
|
||||||
else
|
else
|
||||||
|
@ -219,7 +219,7 @@ installPackage() {
|
||||||
;;
|
;;
|
||||||
C)
|
C)
|
||||||
runInChroot "sudo -u $username paru -Q ${1}" 2>&1 | debug
|
runInChroot "sudo -u $username paru -Q ${1}" 2>&1 | debug
|
||||||
[ $? -eq 0 ] && [ "$4" != "R" ] && return
|
[ $? -eq 0 ] && [ "$2" != "R" ] && return
|
||||||
if [ $debugFlagToStdout = true ] || [ $debugFlag = true ]; then
|
if [ $debugFlagToStdout = true ] || [ $debugFlag = true ]; then
|
||||||
runInChroot "script -qec \"sudo -u $username paru -S --noconfirm --skipreview ${1}\" /dev/null" 2>&1 | debug
|
runInChroot "script -qec \"sudo -u $username paru -S --noconfirm --skipreview ${1}\" /dev/null" 2>&1 | debug
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue