Browse Source

fix: dev: [host] we don't always have ``kal-shlib`` when executing this

We want to be able to take these script maybe independently, in
this light, we can't use ``kal-shlib``'s facilities.

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

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

@ -92,7 +92,7 @@ fi
if [ -d "/srv/charm-store" ]; then
if [ -L "/srv/charm-store" ]; then
info "Already have a valid /srv/charm-store"
echo "Already have a valid /srv/charm-store"
elif [ -L "/srv/charm-store/0k-charms" ]; then
mv /srv/charm-store{,.old} &&
mv /srv/charm-store.old/0k-charms /srv/charm-store &&

Loading…
Cancel
Save