diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/packages.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/packages.sh b/lib/packages.sh new file mode 100644 index 0000000..05fac0a --- /dev/null +++ b/lib/packages.sh @@ -0,0 +1,10 @@ +function packages::install() { + case "$(os::distro)" in + "archlinux") + sudo pacman -S --needed $@ + ;; + *) + echo "Unknown distro, cannot install packages" + ;; + esac +} |