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.

23 lines
481 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. cat <<EOF > /etc/apt/sources.list.d/kalysto.org.list
  8. ## vlab's shell libraries
  9. deb http://deb.kalysto.org no-dist kal-alpha kal-beta kal-main
  10. EOF
  11. ## Update only this repo:
  12. apt-get update -o Dir::Etc::sourcelist="sources.list.d/kalysto.org.list" \
  13. -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"
  14. fi
  15. apt-get install -y --force-yes kal-scripts