mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 19:28:00 +00:00
change rpm check to use 'which' and added tshark in dependency check
Signed-off-by: Isaac Konikoff <konikofi@candelatech.com>
This commit is contained in:
@@ -17,10 +17,11 @@
|
||||
present=(
|
||||
gnuplot
|
||||
wkhtmltopdf
|
||||
tshark
|
||||
)
|
||||
killcommand=0
|
||||
for i in "${present[@]}"; do
|
||||
present=$(expr length "$(rpm -qa | grep $i)")
|
||||
present=$(expr length "$(which $i)")
|
||||
if [[ $present -gt 0 ]]; then
|
||||
:
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user