dotfiles/symlinks/bin/get-package-manager-install...

11 lines
258 B
Plaintext
Raw Permalink Normal View History

2021-01-07 08:09:41 +00:00
#!/bin/sh
PACKAGE_MANAGER=$(get-package-manager-name)
if [ "$PACKAGE_MANAGER" = "pacman" ]; then
echo "sudo pacman -S"
elif [ "$PACKAGE_MANAGER" = "apt" ]; then
echo "sudo apt install"
elif [ "$PACKAGE_MANAGER" = "dnf" ]; then
echo "sudo dnf install"
2021-01-07 08:09:41 +00:00
fi