代码拉取完成,页面将自动刷新
From 33fde245b0a49eb02837b6fedb2d14ed92c2d99f Mon Sep 17 00:00:00 2001
From: grumpey <61189565+grumpey@users.noreply.github.com>
Date: Sun, 20 Aug 2023 07:35:29 -0400
Subject: [PATCH] Fix bash completion due to sqlite changes
Conflict:NA
Reference:https://github.com/rpm-software-management/dnf/commit/33fde245b0a49eb02837b6fedb2d14ed92c2d99f
= changelog =
msg: Fix bash completion due to sqlite changes
type: bugfix
resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2232052
related: https://sqlite.org/src/info/c995932c3ffe7f27
---
etc/bash_completion.d/dnf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/etc/bash_completion.d/dnf b/etc/bash_completion.d/dnf
index eb34b807a9..8a9256a695 100644
--- a/etc/bash_completion.d/dnf
+++ b/etc/bash_completion.d/dnf
@@ -112,7 +112,7 @@ _dnf_query_db()
{
local table=$1
local prefix=$2
- local query="select pkg from $table where pkg like \"$prefix%\""
+ local query="select pkg from $table where pkg like '$prefix%'"
if [ "$table" = "available" ]; then
# The available table contains both installed and non-installed
# packages. Exclude the installed packages.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。