1
0
Fork 0

forgot the "--assumeyes" from the rpm to dnf transition

This commit is contained in:
Pratham Patel 2024-04-18 17:10:23 +05:30
parent 47c4d58a01
commit 4079e09b10
Signed by: thefossguy
SSH Key Fingerprint: SHA256:HwRBy9H1FYXWcv/Qi1WY3kmcVtGz2ydZuPJgD4pkusY
1 changed files with 1 additions and 1 deletions

View File

@ -25,5 +25,5 @@ if [[ -z "${1:-}" ]]; then
install_kernel
else
# shellcheck disable=SC2046
sudo dnf remove $(rpm -qa | grep '^kernel' | grep "$1")
sudo dnf remove --assumeyes $(rpm -qa | grep '^kernel' | grep "$1")
fi