Created by: ghost
In this scripts we got commands like this: "dpkg -s yad | grep installed > /dev/null || echo 'yad is not installed :(' | echo "$pass_user" | sudo -S apt install -f -y yad"
But even if (in this case) yad isn't installed, the "yad is not installed :("
message will still not be displayed. The "dpkg-query: package 'yad' is not installed and no information is available"
message will be displayed instead.
So if this function does nothing and has alternative as "dpkg-query"
, I suggest removing it from the code.