SHARE
TWEET

Create RHEL repositary

a guest Feb 7th, 2013 643 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2.  
  3. _repo1=i386
  4. _repo2=i686
  5. _repo3=x86_64
  6.  
  7. printf "\n* Signing Repositary *\n"
  8. rpm --quiet --quiet --resign $_repo1/*.rpm
  9. rpm --quiet --quiet --resign $_repo2/*.rpm
  10. rpm --quiet --quiet --resign $_repo3/*.rpm
  11.  
  12. printf "\n* Create repodata *\n"
  13. rm -rf $_repo1/repodata $_repo2/repodata $_repo3/repodata
  14. createrepo $_repo1
  15. createrepo $_repo2
  16. createrepo $_repo3
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top