Fix path for a

This commit is contained in:
Digital Studium 2024-03-29 10:32:32 +03:00
parent 942652cc12
commit 356736ff2b
1 changed files with 1 additions and 1 deletions

2
a
View File

@ -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