1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 21:06:38 +02:00

script: create "script" directory on each action (just in case it has been removed) (bug #38472)

This commit is contained in:
Sebastien Helleu
2013-03-17 18:32:04 +01:00
parent a9ff529d83
commit cf2ad51f62
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -1437,6 +1437,9 @@ script_action_schedule (const char *action, int need_repository, int quiet)
{
script_action_add (action);
/* create again "script" directory, just in case it has been removed */
weechat_mkdir_home (SCRIPT_PLUGIN_NAME, 0755);
if (need_repository)
{
if (script_repo_file_is_uptodate ())