diff options
author | David Macek <david.macek.0@gmail.com> | 2015-11-29 14:55:15 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-12-05 15:22:40 +0100 |
commit | 71f9de64c6eaf11e22551de56d4e9233dddfe238 (patch) | |
tree | 8d0080328b097f2dfd244c5f9d0cde2b2e03c6c1 /src | |
parent | 8ee084dbb33a9a9fee77376f5fac07f331a24ef8 (diff) | |
download | pacman-71f9de64c6eaf11e22551de56d4e9233dddfe238.tar.gz pacman-71f9de64c6eaf11e22551de56d4e9233dddfe238.tar.xz |
alpm_initialize: Fix double slash in sys hook dir path
The path of the default system hook directory was created
by concatenating `myhandle->root` (usually "/"), and
SYSHOOKDIR (usually "/usr/share/libalpm/hooks/"), resulting
in "//usr/share/libalpm/hooks/". Fix this by skipping the
initial slash from SYSHOOKDIR.
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions