[packages/dnf5] - fix /usr/bin/sh shebang
baggins
baggins at pld-linux.org
Sun Feb 16 23:02:08 CET 2025
commit 97b9ae82478f5b46ff22163805a931d32d265c61
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Feb 17 00:01:48 2025 +0100
- fix /usr/bin/sh shebang
dnf5.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/dnf5.spec b/dnf5.spec
index 2461c2d..706c3b2 100644
--- a/dnf5.spec
+++ b/dnf5.spec
@@ -349,6 +349,10 @@ similar.
%{__mv} dnf5-plugins/automatic_plugin/config/{usr/,}lib
+# Really?
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/sh(\s|$),#!/bin/sh\1,' \
+ dnf5-plugins/automatic_plugin/bin/dnf-automatic
+
%build
mkdir build
cd build
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dnf5.git/commitdiff/97b9ae82478f5b46ff22163805a931d32d265c61
More information about the pld-cvs-commit
mailing list