You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
688 B

  1. #!/bin/bash
  2. set -eux
  3. ##
  4. ## kal-scripts
  5. ##
  6. if ! [ -e /etc/apt/sources.list.d/kalysto.org.list ]; then
  7. ## Required to fetch our repository in https
  8. apt-get install -y --force-yes apt-transport-https
  9. cat <<EOF > /etc/apt/sources.list.d/kalysto.org.list
  10. ## vlab's shell libraries
  11. deb https://deb.kalysto.org no-dist kal-alpha kal-beta kal-main
  12. EOF
  13. ## Include the GPG key
  14. wget -O - https://deb.kalysto.org/conf/public-key.gpg | apt-key add -
  15. ## Update only this repo:
  16. apt-get update -o Dir::Etc::sourcelist="sources.list.d/kalysto.org.list" \
  17. -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"
  18. fi
  19. apt-get install -y --force-yes kal-scripts