diff options
author | Dan McGee <dan@archlinux.org> | 2008-01-15 05:58:44 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-01-15 05:58:44 +0100 |
commit | 38e981fab3f901e6c932e2f2913790ef0b96c6c2 (patch) | |
tree | 1dcf8610529b51626780b3666455f72858361828 /lib/libalpm/trans.c | |
parent | 521de7ceedc6e4f5df52c0380f536a6f13a7f578 (diff) | |
parent | a0ac72b42219fbcf17dd7cf2ee992b71a6a1375a (diff) | |
download | pacman-38e981fab3f901e6c932e2f2913790ef0b96c6c2.tar.gz pacman-38e981fab3f901e6c932e2f2913790ef0b96c6c2.tar.xz |
Merge branch 'maint'
Diffstat (limited to 'lib/libalpm/trans.c')
-rw-r--r-- | lib/libalpm/trans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c index 292c7160..ecc40a0f 100644 --- a/lib/libalpm/trans.c +++ b/lib/libalpm/trans.c @@ -487,7 +487,7 @@ int _alpm_runscriptlet(const char *root, const char *installfn, /* creates a directory in $root/tmp/ for copying/extracting the scriptlet */ snprintf(tmpdir, PATH_MAX, "%stmp/", root); if(stat(tmpdir, &buf)) { - _alpm_makepath(tmpdir); + _alpm_makepath_mode(tmpdir, 01777); } snprintf(tmpdir, PATH_MAX, "%stmp/alpm_XXXXXX", root); if(mkdtemp(tmpdir) == NULL) { |