Browse Source

chg: dev: [base-0k] load kalysto deb repository only if not already done and update indexes.

postgres
Valentin Lab 10 years ago
parent
commit
cdae2288e3
  1. 11
      precise/base-0k/hooks/install

11
precise/base-0k/hooks/install

@ -99,13 +99,22 @@ EOF
## kal-scripts ## kal-scripts
## ##
cat <<EOF >> /etc/apt/sources.list
##
## kal-scripts
##
if ! [ -e /etc/apt/sources.list.d/kalysto.org.list ]; then
cat <<EOF > /etc/apt/sources.list.d/kalysto.org.list
## vlab's shell libraries ## vlab's shell libraries
deb http://deb.kalysto.org no-dist kal-alpha kal-beta kal-main deb http://deb.kalysto.org no-dist kal-alpha kal-beta kal-main
EOF EOF
## Update only this repo:
apt-get update -o Dir::Etc::sourcelist="sources.list.d/kalysto.org.list" \
-o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"
fi
## ##
## More shell configurations (prompt, functions) ## More shell configurations (prompt, functions)

Loading…
Cancel
Save