adjusted to whiptail version
This commit is contained in:
@@ -71,7 +71,6 @@ install_package_pacman() {
|
||||
}
|
||||
|
||||
ISAUR=$(command -v yay || command -v paru)
|
||||
|
||||
# Function to install packages with either yay or paru
|
||||
install_package() {
|
||||
if $ISAUR -Q "$1" &>> /dev/null ; then
|
||||
@@ -110,6 +109,7 @@ install_package_f() {
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
# Function for removing packages
|
||||
uninstall_package() {
|
||||
local pkg="$1"
|
||||
|
||||
Reference in New Issue
Block a user