addet functionality
This commit is contained in:
parent
4d3f6d862a
commit
502756fdea
1 changed files with 5 additions and 5 deletions
|
@ -13,14 +13,14 @@ if command -v nala >/dev/null 2>&1; then
|
|||
install="$pkg update && $pkg install"
|
||||
remove="$pkg prune"
|
||||
update="$pkg update && $pkg upgrade"
|
||||
ref="$pkg update"
|
||||
ref="$pkg update --assume-yes"
|
||||
search="$pkg search"
|
||||
elif command -v apt-get >/dev/null 2>&1; then
|
||||
pkg="$sudo apt-get"
|
||||
install="$pkg update && $pkg install"
|
||||
remove="$pkg remove"
|
||||
update="$pkg update && $pkg upgrade"
|
||||
ref="$pkg update"
|
||||
ref="$pkg update --assume-yes"
|
||||
search="$pkg search"
|
||||
fi
|
||||
|
||||
|
@ -40,21 +40,21 @@ if command -v paru >/dev/null 2>&1; then
|
|||
install="$pkg -S"
|
||||
remove="$pkg -R"
|
||||
update="$pkg -Syu"
|
||||
ref="$pkg"
|
||||
ref="$pkg -Sy --noconfirm"
|
||||
search="$pkg -Ss"
|
||||
elif command -v yay >/dev/null 2>&1; then
|
||||
pkg="yay"
|
||||
install="$pkg -S"
|
||||
remove="$pkg -R"
|
||||
update="$pkg -Syu"
|
||||
ref="$pkg -Sy"
|
||||
ref="$pkg -Sy --noconfirm"
|
||||
search="$pkg -Ss"
|
||||
elif command -v pacman >/dev/null 2>&1; then
|
||||
pkg="$sudo pacman"
|
||||
install="$pkg -S"
|
||||
remove="$pkg -R"
|
||||
update="$pkg -Syu"
|
||||
ref="$pkg -Sy"
|
||||
ref="$pkg -Sy --needet --noconfirm"
|
||||
search="$pkg -Ss"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue