Change path for /etc config.

This commit is contained in:
Themaister 2010-12-30 03:42:31 +01:00
parent db3ec95ee5
commit b1a7a11dfc
2 changed files with 3 additions and 2 deletions

View File

@ -59,6 +59,7 @@ ssnes: $(OBJ)
install: $(TARGET)
install -m755 $(TARGET) $(PREFIX)/bin
install -m644 ssnes.cfg /etc/ssnes.cfg
uninstall: $(TARGET)
rm -rf $(PREFIX)/bin/$(TARGET)

View File

@ -128,8 +128,8 @@ void parse_config(void)
strcat(conf_path, "/.ssnesrc");
conf = config_file_new(conf_path);
}
else // Try /etc/ssnes.conf as a final test ...
conf = config_file_new("/etc/ssnes.conf");
else // Try /etc/ssnes.cfg as a final test ...
conf = config_file_new("/etc/ssnes.cfg");
}
set_defaults();