Created
January 6, 2015 09:12
-
-
Save ruckuus/7cb31dfe9ef598e12e30 to your computer and use it in GitHub Desktop.
Fetch RPM package and its dependencies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PKG=$1 | |
mkdir -p repos | |
repotrack -c /etc/yum.repos.d/epel.repo -a x86_64 -p repos/ $PKG |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment