mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 14:26:39 +02:00
script: create "script" directory on each action (just in case it has been removed) (bug #38472)
This commit is contained in:
@@ -71,6 +71,8 @@ Version 0.4.1 (under dev!)
|
||||
* rmodifier: rename default rmodifier "nickserv" to "command_auth" (with new
|
||||
modifier "irc_command_auth"), add default rmodifier "message_auth" (modifier
|
||||
"irc_message_auth")
|
||||
* script: create "script" directory on each action (just in case it has been
|
||||
removed) (bug #38472)
|
||||
* script: add option script.scripts.autoload, add options "autoload",
|
||||
"noautoload" and "toggleautoload" for command /script, add action "A" (meta-A)
|
||||
on script buffer (toggle autoload) (task #12393)
|
||||
|
||||
@@ -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 ())
|
||||
|
||||
Reference in New Issue
Block a user