Commit 66abf2e
authored
Fix post and postun sections in sdbus-cpp.spec (#13588)
Fix warning from %post and %postun in sdbus-cpp.spec
install:
Installing/Updating: sdbus-cpp-1.3.0-1.azl3.x86_64
/var/tmp/rpm-tmp.XgB0E8: line 1: -p: command not found
warning: %post(sdbus-cpp-1.3.0-1.azl3.x86_64) scriptlet failed, exit status 127
package sdbus-cpp-1.3.0-1.azl3.x86_64: script warning in %postin
uninstall:
Removing: sdbus-cpp-1.3.0-1.azl3.x86_64
/var/tmp/rpm-tmp.nFgDZW: line 1: -p: command not found
warning: %postun(sdbus-cpp-1.3.0-1.azl3.x86_64) scriptlet failed, exit status 127
package sdbus-cpp-1.3.0-1.azl3.x86_64: script warning in %postun
remove newlines to allow -p /sbin/ldconfig to work as intended for %post and %postun1 parent e0c0728 commit 66abf2e
1 file changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
| 50 | + | |
52 | 51 | | |
53 | | - | |
54 | | - | |
| 52 | + | |
55 | 53 | | |
56 | 54 | | |
57 | 55 | | |
| |||
66 | 64 | | |
67 | 65 | | |
68 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
0 commit comments