ALT Linux Bugzilla
– Attachment 17065 Details for
Bug 48319
apt-get dedup использует egrep
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Замена egrep на grep -E
apt-scripts.patch (text/plain), 530 bytes, created by
Vladimir Vaskov
on 2024-10-26 09:44:26 MSK
(
hide
)
Description:
Замена egrep на grep -E
Filename:
MIME Type:
Creator:
Vladimir Vaskov
Created:
2024-10-26 09:44:26 MSK
Size:
530 bytes
patch
obsolete
>diff --git a/dedup.lua b/dedup.lua >index bbd4968..979da18 100644 >--- a/dedup.lua >+++ b/dedup.lua >@@ -23,7 +23,7 @@ allowed_dups = confgetlist("RPM::Allow-Duplicated") > function isAllowed(pkg) > for i, pattern in pairs(allowed_dups) do > -- ugly hack: lua is bad at pattern matching >- if os.execute("echo '"..pkg.."' |egrep -q '"..pattern.."'") then >+ if os.execute("echo '"..pkg.."' |grep -E -q '"..pattern.."'") then > return 1 > end > end >@@ -73,4 +73,3 @@ for i, pkg in pairs(pkglist()) do > > ::continue:: > end >-
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 48319
: 17065