From 942652cc120697d34d6858aa87dfd208b06a0d15 Mon Sep 17 00:00:00 2001 From: Digital Studium Date: Fri, 29 Mar 2024 10:27:12 +0300 Subject: [PATCH] Fix install from deb --- a | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a b/a index 6503abf..789e30b 100755 --- a/a +++ b/a @@ -12,7 +12,7 @@ if [[ $action == "Install" || $action == "Remove" ]]; then package=$(apt-cache search '' | sort | cut --delimiter ' ' --fields 1 | fzf --multi --cycle --reverse --preview 'apt-cache show {1}') sudo apt ${action,,} $package -y elif [[ $action == "Install from .deb file" ]]; then - find ~ -name *.deb | fzf | xargs -I _ sudo apt install -y _ + find ~ -name "*.deb" | fzf | xargs -I _ sudo apt install -y _ elif [[ $action == "Update" || $action == "Upgrade" || $action == "Autoremove" ]]; then sudo apt ${action,,} -y fi