tweaking to support custom location for deb/rpm packages