add command for rpm and delete unnecessary prefix

remove trailing spaces
This commit is contained in:
M4x
2021-04-07 17:31:05 +08:00
committed by GitHub
parent 565ebae880
commit ecb1840df3

View File

@@ -2,7 +2,7 @@
functions:
shell:
- code: rpm --eval '%{lua:os.execute("/bin/sh")}'
command:
command:
- code: |
rpm --pipe '/bin/id > /tmp/result'
cat /tmp/result