fix mixed function name

This commit is contained in:
Luis Guzmán 2023-11-29 03:16:30 -06:00
parent 6bfb445b93
commit 69a3d6eb6a
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ NL="$(printf '\n ')"
printwc() {
printf "%b$2%b" "$1" "${Color_Off}"
}
install_ifnot() {
install_if_not() {
if [ "$(dpkg-query -W -f='${Status}' "$1" 2>/dev/null | \
grep -c "ok installed")" == "1" ]; then
echo " $1 is installed, skipping..."