File: 0006-fix-install-directory-creation.patch

package info (click to toggle)
gross 1.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,664 kB
  • sloc: sh: 8,835; ansic: 7,330; makefile: 53; xml: 45
file content (13 lines) | stat: -rw-r--r-- 613 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Author: Tj
Last-Update: 2025-08-11
Description: Make sure /etc dir is created in advance which is granted on normal
             installations but required when creating a Debian package

--- a/Makefile.am
+++ b/Makefile.am
@@ -12,4 +12,4 @@ dist-hook:
 	rm -rf `find $(distdir)/doc -type d -name .svn`
 
 install-data-local:
-	if test ! -f $(DESTDIR)$(sysconfdir)/grossd.conf; then $(INSTALL_DATA) $(srcdir)/doc/examples/grossd.conf $(DESTDIR)$(sysconfdir); fi
+	if test ! -f $(DESTDIR)$(sysconfdir)/grossd.conf; then $(INSTALL_DATA) -D $(srcdir)/doc/examples/grossd.conf $(DESTDIR)$(sysconfdir)/grossd.conf; fi