index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Florian Pritz <bluewind@xinu.at> | 2011-07-06 18:26:56 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-07-18 10:44:28 -0500 |
commit | dad96ccce2eea8b171cd2d14ec20b8185f0009a8 (patch) | |
tree | 70f8c007e16370b2fef1f97fc5a6ccec6158da06 /lib/libalpm/trans.c | |
parent | 89c070b263a9e1e4e0734b25c8bc33367a34e504 (diff) |
-rw-r--r-- | lib/libalpm/trans.c | 3 |
diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c index 6cea9b7c..1bab830d 100644 --- a/lib/libalpm/trans.c +++ b/lib/libalpm/trans.c @@ -288,8 +288,7 @@ int _alpm_runscriptlet(alpm_handle_t *handle, const char *installfn, int clean_tmpdir = 0; int retval = 0; - if(access(installfn, R_OK)) { - /* not found */ + if(_alpm_access(handle, NULL, installfn, R_OK) != 0) { _alpm_log(handle, ALPM_LOG_DEBUG, "scriptlet '%s' not found\n", installfn); return 0; } |