Skip to content
Snippets Groups Projects
Commit d68b6b96 authored by Jason Hiser's avatar Jason Hiser :tractor:
Browse files

add centos support to get-peasoup-package.sh

Former-commit-id: 63f46fd4
parent 89f1c795
No related branches found
No related tags found
No related merge requests found
......@@ -52,8 +52,8 @@ install_packs()
{
for i in $*
do
which apt-get 2> /dev/null
if [[ $? = 0 ]]; then
which apt-get 1> /dev/null 2> /dev/null
if [[ $? == 0 ]]; then
sudo apt-get install $i -y
else
sudo yum install $i -y
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment