2022/03/18
How to check if a debian package is installed:
deb_pkg_is_installed() {
sudo dpkg --get-selections "$1" | grep -q "$1";
}
How to check if a debian package is installed:
deb_pkg_is_installed() {
sudo dpkg --get-selections "$1" | grep -q "$1";
}