10 lines
155 B
Bash
Executable file
10 lines
155 B
Bash
Executable file
#!/usr/bin/env bash
|
|
type "$1" &> /dev/null; }
|
|
|
|
if command_exists "apt-get"; then
|
|
PM="apt-get"
|
|
elif command_exists "yum"; then
|
|
PM="yum"
|
|
fi
|
|
|
|
echo $PM |