Skip to content
Commit 192b24f8 authored by Simo Leone's avatar Simo Leone Committed by Aaron Griffin
Browse files

Trap EXIT and use relative cache and db paths



Trapping exit ensures that unmounting occurs in the event of an exit 1
or a normal exit. Pacman 3.0.6 takes cachedir and dbpath to be relative
to it's given root, not absolute.

Signed-off-by: default avatarSimo Leone <simo@archlinux.org>
Signed-off-by: default avatarAaron Griffin <aaronmgriffin@gmail.com>
parent 656a5401
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment