Compare commits
1 Commits
v3.2.3
...
affe6e1487
| Author | SHA1 | Date | |
|---|---|---|---|
| affe6e1487 |
@@ -68,7 +68,7 @@ dpkgs ()
|
|||||||
disp E "Please specify a package name, without space, eventually partial." &&
|
disp E "Please specify a package name, without space, eventually partial." &&
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
if [[ $(command -v dpkg >/dev/null 2>&1) ]]; then
|
if [[ $(command -v dpkg >/dev/null 2>&1) ]]; then
|
||||||
dpkg -l | grep $pkg
|
dpkg -l | grep $pkg
|
||||||
elif [[ $(command -v rpm >/dev/null 2>&1) ]]; then
|
elif [[ $(command -v rpm >/dev/null 2>&1) ]]; then
|
||||||
rpm -qa | grep $pkg
|
rpm -qa | grep $pkg
|
||||||
|
|||||||
Reference in New Issue
Block a user