From a032c5877ce2c18c51360aa8fb4de7b7f2ac857e Mon Sep 17 00:00:00 2001 From: pika Date: Thu, 22 May 2025 11:20:34 +0200 Subject: [PATCH] testing.. --- neovim.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/neovim.sh b/neovim.sh index 3023e47..1aa9414 100644 --- a/neovim.sh +++ b/neovim.sh @@ -14,7 +14,7 @@ # fedora = bool # opensuse = bool.... # You can then use it for, `if $arch; then` - # Also this gives you the _install command, which installs a package pased on the packagemanager/distro used. + # Also this gives you the pkg-install command, which installs a package pased on the packagemanager/distro used. # CAUTION: # This only wokrs for generic package names, like neovim, or vim, or tmux etc.. # not every package packagemanager has the same packagenames for their packages.. @@ -46,7 +46,7 @@ } # command for executing silent mode only when nessessairy - # ex: run "Building $PACKAGE" _install neovim + # ex: run "Building $PACKAGE" pkg-install neovim run() { local msg=$1 local cmd="${@:1}" @@ -93,7 +93,7 @@ if ! command_exists $pkg; then spin yellow bold "Installing $(pen red $pkg)" sleep 1 - if run --err err _install $pkg; then + if run --err err pkg-install $pkg; then check "$pkg $(pen green installed)!" else throw "Something went wrong! Could not install $(pen bold red $pkg)"