Commit 05259b8
authored
Fix Debian and RPM packaging to properly install Lua and example files (#104)
* Fix Debian and RPM packaging to properly install Lua and example files
- Fix debian/rules: Replace incorrect 'install -D ... -t' syntax with full
destination paths. The -D flag requires a full destination path, not a
target directory with -t flag.
- Fix rpm spec: Correct examples directory path from %{_docdir}/examples to
%{_docdir}/%{name}/examples to match actual installation paths. Add explicit
lua directory creation and consistent file permissions.
These fixes ensure that Lua files, example configs, and template files are
properly installed in both Debian and RPM packages.
* Add explicit permissions to Lua and example files in debian/rules
Set -m 644 permissions for Lua files, example configs, and template files
to match the RPM spec and ensure consistent file permissions across both
packaging systems.1 parent e1ccdbb commit 05259b8
2 files changed
+14
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | | - | |
33 | | - | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
0 commit comments