Sisyphus repository
Last update: 2018-06-18 09:06:32 +0400 | SRPMs: 18557 | Sign in or Sign up
en ru uk br
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
diff -urN allin1-0.5.0.orig/docs/allin1.1 allin1-0.5.0/docs/allin1.1
--- allin1-0.5.0.orig/docs/allin1.1	2004-08-24 15:08:40 +0300
+++ allin1-0.5.0/docs/allin1.1	2008-07-11 13:26:31 +0300
@@ -47,8 +47,9 @@
 The applet configuration and appearance is made through ASCII file. 
 When the program starts, it looks for a user config in $HOME directory, stored
 in ~/.allin1.conf.  If this file can't be found, the applet looks for
-/usr/share/allin1/allin1.conf file, then for /usr/local/share/allin1/allin1.conf
-file. So, the system-wide configuration can be located in /usr/share/allin1 if
+/etc/allin1.conf file, then /usr/share/allin1/allin1.conf file,
+then for /usr/local/share/allin1/allin1.conf file. So, the system-wide
+configuration can be located in /usr/share/allin1 if
 you install from sources, or in /usr/local/share/allin1 if you install from
 binary package. Also, every user can create his own config file. 
 .br
diff -urN allin1-0.5.0.orig/src/allin1.c allin1-0.5.0/src/allin1.c
--- allin1-0.5.0.orig/src/allin1.c	2004-08-24 17:25:34 +0300
+++ allin1-0.5.0/src/allin1.c	2008-07-10 21:01:08 +0300
@@ -132,6 +132,7 @@
 /* path where to search for config file */
 char *confpaths[] = {
   ".allin1.conf",			/* config file in home dir */
+  "/etc/allin1.conf",
   "/usr/share/allin1/allin1.conf",	/* config in package dir */
   "/usr/local/share/allin1/allin1.conf",  /* building by tarball */
   ""
diff -urN allin1-0.5.0.orig/src/Makefile allin1-0.5.0/src/Makefile
--- allin1-0.5.0.orig/src/Makefile	2008-07-10 20:55:09 +0300
+++ allin1-0.5.0/src/Makefile	2008-07-10 21:01:08 +0300
@@ -62,12 +62,12 @@
 
 
 install: allin1
-	mkdir -p $(DESTDIR)/usr/share/allin1 $(DESTDIR)/usr/bin $(DESTDIR)/usr/share/doc/allin1
+	mkdir -p $(DESTDIR)/usr/share/allin1 $(DESTDIR)/usr/bin $(DESTDIR)/usr/share/doc/allin1 $(DESTDIR)/etc
 	/usr/bin/install allin1 $(DESTDIR)/usr/bin
-	/usr/bin/install -m 644 allin1.conf.example $(DESTDIR)/usr/share/allin1/allin1.conf
+	/usr/bin/install -m 644 allin1.conf.example $(DESTDIR)/etc/allin1.conf
 
 uninstall:
-	rm -f $(DEST_PATH)/share/allin1/allin1.conf
+	rm -f $(DEST_PATH)/etc/allin1.conf
 	rm -f $(DEST_PATH)/bin/allin1
 
 # clean up
 
© 2009–2018 Igor Zubkov