Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
577d4857
Commit
577d4857
authored
Oct 03, 2011
by
Sebastian Ramacher
Browse files
create config/data directories if they don't exist
parent
2c5eb04f
Changes
1
Show whitespace changes
Inline
Side-by-side
zathura.c
View file @
577d4857
...
...
@@ -87,6 +87,10 @@ zathura_init(int argc, char* argv[])
g_free
(
path
);
}
/* create zathura (config/data) directory */
g_mkdir_with_parents
(
zathura
->
config
.
config_dir
,
0771
);
g_mkdir_with_parents
(
zathura
->
config
.
data_dir
,
0771
);
if
(
plugin_path
)
{
gchar
**
paths
=
g_strsplit
(
plugin_path
,
":"
,
0
);
for
(
unsigned
int
i
=
0
;
paths
[
i
]
!=
'\0'
;
++
i
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment