fix mixed function name
This commit is contained in:
parent
6bfb445b93
commit
69a3d6eb6a
|
@ -30,7 +30,7 @@ NL="$(printf '\n ')"
|
||||||
printwc() {
|
printwc() {
|
||||||
printf "%b$2%b" "$1" "${Color_Off}"
|
printf "%b$2%b" "$1" "${Color_Off}"
|
||||||
}
|
}
|
||||||
install_ifnot() {
|
install_if_not() {
|
||||||
if [ "$(dpkg-query -W -f='${Status}' "$1" 2>/dev/null | \
|
if [ "$(dpkg-query -W -f='${Status}' "$1" 2>/dev/null | \
|
||||||
grep -c "ok installed")" == "1" ]; then
|
grep -c "ok installed")" == "1" ]; then
|
||||||
echo " $1 is installed, skipping..."
|
echo " $1 is installed, skipping..."
|
||||||
|
|
Loading…
Reference in New Issue