fix files error handling
pkgbuild update