multi 635 B

123456789101112131415161718192021222324252627282930
  1. #!/bin/bash
  2. set -e
  3. #==============HEADER===================================|
  4. #AUTOR
  5. # Jefferson 'slackjeff' Rocha
  6. #
  7. # Instalação do Multilib no Slackware 14.21
  8. #=======================================================|
  9. #===============VARS
  10. SLACKVER='14.2'
  11. #==============START
  12. mkdir multilib
  13. cd multilib
  14. # Download
  15. lftp -c "open http://bear.alienbase.nl/mirrors/people/alien/multilib/ ; mirror -c -e ${SLACKVER}"
  16. cd ${SLACKVER}
  17. upgradepkg --reinstall --install-new *.t?z
  18. upgradepkg --install-new slackware64-compat32/*-compat32/*.t?z
  19. # Enviando para Blacklist
  20. cat >> /etc/slackpkg/blacklist <<EOF
  21. [0-9]+alien
  22. [0-9]+compat32
  23. EOF