2021-01-07 08:09:41 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
PACKAGE_MANAGER="Unknown"
|
|
|
|
if type apt > /dev/null 2>&1
|
|
|
|
then
|
|
|
|
PACKAGE_MANAGER="apt"
|
|
|
|
fi
|
|
|
|
if type pacman > /dev/null 2>&1
|
|
|
|
then
|
|
|
|
PACKAGE_MANAGER="pacman"
|
|
|
|
fi
|
2022-07-17 18:11:57 +00:00
|
|
|
if type dnf > /dev/null 2>&1
|
|
|
|
then
|
|
|
|
PACKAGE_MANAGER="dnf"
|
|
|
|
fi
|
2021-01-07 08:09:41 +00:00
|
|
|
|
|
|
|
echo $PACKAGE_MANAGER
|