configs/test.bash

10 lines
155 B
Bash
Raw Normal View History

2023-08-23 11:54:46 -05:00
#!/usr/bin/env bash
type "$1" &> /dev/null; }
2023-08-22 22:12:01 -05:00
if command_exists "apt-get"; then
PM="apt-get"
elif command_exists "yum"; then
PM="yum"
fi
echo $PM