mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
Moved location of config, theme and doc files. Added debian dir for building a .deb easily.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1607 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
3eca462859
commit
2ddba459c0
17 changed files with 246 additions and 9 deletions
|
|
@ -4,7 +4,7 @@ INCLUDES = \
|
|||
$(GLIB_CFLAGS) \
|
||||
-I$(top_srcdir)/src -I$(top_srcdir)/src/core/ \
|
||||
-DHELPDIR=\""$(datadir)/irssi/help"\" \
|
||||
-DSYSCONFDIR=\""$(sysconfdir)"\"
|
||||
-DTHEMESDIR=\""$(datadir)/irssi/themes"\"
|
||||
|
||||
libfe_common_core_a_SOURCES = \
|
||||
autorun.c \
|
||||
|
|
|
|||
|
|
@ -705,7 +705,7 @@ THEME_REC *theme_load(const char *setname)
|
|||
if (stat(fname, &statbuf) != 0) {
|
||||
/* check global config dir */
|
||||
g_free(fname);
|
||||
fname = g_strdup_printf(SYSCONFDIR"/irssi/%s.theme", name);
|
||||
fname = g_strdup_printf(THEMESDIR"/%s.theme", name);
|
||||
if (stat(fname, &statbuf) != 0) {
|
||||
/* theme not found */
|
||||
g_free(fname);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue