f6116fc2ac
As shown in https://github.com/void-linux/xbps/issues/110 /var might be rw, while / might be ro. Check this via xbps_pkgdb_lock() for both things. Close #110 Signed-off-by: Juan RP <xtraeme@gmail.com>