1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Rename identification file

This commit is contained in:
Michael Vetter 2019-10-16 10:54:05 +02:00
parent 46f0304f89
commit ee0541a262
2 changed files with 4 additions and 2 deletions

View File

@ -2,6 +2,7 @@
* files.h
*
* Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
* Copyright (C) 2018 - 2019 Michael Vetter <jubalh@idoru.org>
*
* This file is part of Profanity.
*
@ -43,7 +44,7 @@
#define FILE_PLUGIN_SETTINGS "plugin_settings"
#define FILE_PLUGIN_THEMES "plugin_themes"
#define FILE_CAPSCACHE "capscache"
#define FILE_RND_INST_BYTES "randbytes"
#define FILE_PROFANITY_IDENTIFIER "profident"
#define DIR_THEMES "themes"
#define DIR_ICONS "icons"

View File

@ -2,6 +2,7 @@
* connection.c
*
* Copyright (C) 2012 - 2019 James Booth <boothj5@gmail.com>
* Copyright (C) 2018 - 2019 Michael Vetter <jubalh@idoru.org>
*
* This file is part of Profanity.
*
@ -624,7 +625,7 @@ static void _random_bytes_init()
char *rndbytes_loc;
GKeyFile *rndbytes;
rndbytes_loc = files_get_data_path(FILE_RND_INST_BYTES);
rndbytes_loc = files_get_data_path(FILE_PROFANITY_IDENTIFIER);
if (g_file_test(rndbytes_loc, G_FILE_TEST_EXISTS)) {
g_chmod(rndbytes_loc, S_IRUSR | S_IWUSR);