Browse Source

fix: [host,rsync-backup] ensure ``kal-shlib``'s are installed

Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
pull/1/head
Valentin Lab 4 years ago
parent
commit
435ef3da11
  1. 2
      precise/host/hooks/install.d/70-0k.sh
  2. 1
      rsync-backup/hooks/install.d/60-install.sh

2
precise/host/hooks/install.d/70-0k.sh

@ -61,7 +61,7 @@ fi
## ##
( (
apt-get install -y kal-shlib-charm kal-shlib-cache kal-shlib-cmdline </dev/null
apt-get install -y kal-shlib-{common,charm,cache,cmdline,config} </dev/null
if [ -d "/opt/apps/0k-charm" ]; then if [ -d "/opt/apps/0k-charm" ]; then
cd /opt/apps/0k-charm && cd /opt/apps/0k-charm &&
git checkout master && git checkout master &&

1
rsync-backup/hooks/install.d/60-install.sh

@ -61,7 +61,6 @@ esac
ln -sf "$PWD/resources/bin/mirror-dir" /usr/local/sbin/mirror-dir ln -sf "$PWD/resources/bin/mirror-dir" /usr/local/sbin/mirror-dir
if ! [ -e /etc/mirror-dir/config.yml ]; then if ! [ -e /etc/mirror-dir/config.yml ]; then
mkdir -p /etc/mirror-dir mkdir -p /etc/mirror-dir
cat <<EOF > /etc/mirror-dir/config.yml cat <<EOF > /etc/mirror-dir/config.yml

Loading…
Cancel
Save