added support for package manager repo mirror with apt-get and yum
fix for issue #12