diff --git a/src/common/weechat.c b/src/common/weechat.c index b6fb77b35..82a588a9f 100644 --- a/src/common/weechat.c +++ b/src/common/weechat.c @@ -600,6 +600,10 @@ wee_create_home_dirs () snprintf (dir_name, dir_length, "%s%s%s%s%s", weechat_home, DIR_SEPARATOR, "perl", DIR_SEPARATOR, "autoload"); wee_create_dir (dir_name); + /* create "~/.weechat/perl/config" */ + snprintf (dir_name, dir_length, "%s%s%s%s%s", weechat_home, + DIR_SEPARATOR, "perl", DIR_SEPARATOR, "config"); + wee_create_dir (dir_name); } #endif @@ -613,6 +617,10 @@ wee_create_home_dirs () snprintf (dir_name, dir_length, "%s%s%s%s%s", weechat_home, DIR_SEPARATOR, "python", DIR_SEPARATOR, "autoload"); wee_create_dir (dir_name); + /* create "~/.weechat/python/config" */ + snprintf (dir_name, dir_length, "%s%s%s%s%s", weechat_home, + DIR_SEPARATOR, "python", DIR_SEPARATOR, "config"); + wee_create_dir (dir_name); } #endif diff --git a/weechat/src/common/weechat.c b/weechat/src/common/weechat.c index b6fb77b35..82a588a9f 100644 --- a/weechat/src/common/weechat.c +++ b/weechat/src/common/weechat.c @@ -600,6 +600,10 @@ wee_create_home_dirs () snprintf (dir_name, dir_length, "%s%s%s%s%s", weechat_home, DIR_SEPARATOR, "perl", DIR_SEPARATOR, "autoload"); wee_create_dir (dir_name); + /* create "~/.weechat/perl/config" */ + snprintf (dir_name, dir_length, "%s%s%s%s%s", weechat_home, + DIR_SEPARATOR, "perl", DIR_SEPARATOR, "config"); + wee_create_dir (dir_name); } #endif @@ -613,6 +617,10 @@ wee_create_home_dirs () snprintf (dir_name, dir_length, "%s%s%s%s%s", weechat_home, DIR_SEPARATOR, "python", DIR_SEPARATOR, "autoload"); wee_create_dir (dir_name); + /* create "~/.weechat/python/config" */ + snprintf (dir_name, dir_length, "%s%s%s%s%s", weechat_home, + DIR_SEPARATOR, "python", DIR_SEPARATOR, "config"); + wee_create_dir (dir_name); } #endif