From cf2ad51f627a2db65959c6bf75f06a18d0c2d1f3 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sun, 17 Mar 2013 18:32:04 +0100 Subject: script: create "script" directory on each action (just in case it has been removed) (bug #38472) --- src/plugins/script/script-action.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/plugins') diff --git a/src/plugins/script/script-action.c b/src/plugins/script/script-action.c index 9791d4fc8..393437904 100644 --- a/src/plugins/script/script-action.c +++ b/src/plugins/script/script-action.c @@ -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 ()) -- cgit v1.2.3