Replaced double quotation marks with single in dnf.fish completions

(cherry picked from commit bd4adf86f489e5eadbd86e2a29bdf84cd6a37140)
This commit is contained in:
Dmitriy Shishkov 2023-11-12 17:16:05 +00:00 committed by David Adam
parent 0acf05eca0
commit 963166c7ed

View File

@ -21,7 +21,7 @@ function __dnf_list_available_packages
# This schema is bad, there is only a "pkg" field with the full
# packagename-version-release.fedorarelease.architecture
# tuple. We are only interested in the packagename.
set results (sqlite3 /var/cache/dnf/packages.db "SELECT pkg FROM available WHERE pkg LIKE \"$tok%\"" 2>/dev/null |
set results (sqlite3 /var/cache/dnf/packages.db "SELECT pkg FROM available WHERE pkg LIKE '$tok%'" 2>/dev/null |
string replace -r -- '-[^-]*-[^-]*$' '')
else
# In some cases dnf will ask for input (e.g. to accept gpg keys).