From f16bd2c17ce4dfef5fcbaabccdbe0237084e7b4c Mon Sep 17 00:00:00 2001 From: vx_clutch <98831688+vx-clutch@users.noreply.github.com> Date: Tue, 9 Sep 2025 09:36:05 -0400 Subject: [PATCH] Create get --- bin/.local/bin/get | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 bin/.local/bin/get diff --git a/bin/.local/bin/get b/bin/.local/bin/get new file mode 100644 index 0000000..8a888aa --- /dev/null +++ b/bin/.local/bin/get @@ -0,0 +1,16 @@ +#!/bin/sh + +pkgs="$@" +check() { + return command -v xbps-install >dev/null 2>&1 +} + +if check xbps-install; then + installer="sudo xbps-install -Syu" +elif check pacman; then + installer="sudo pacman -Syu" +elif check apt; then + installer="sudo apt install -y" +else + echo Could not find package manager. +fi