Browse Source

chg: [host] remove =docker-clean= from general install

Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
lokavaluto/dev/master
Valentin Lab 5 years ago
parent
commit
66be919b7d
  1. 4
      precise/host/hooks/install.d/70-0k.sh

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

@ -154,7 +154,9 @@ fi
fi
ln -sfn /opt/apps/0k-docker/src/bin/* /usr/local/sbin/
ln -sfn /opt/apps/0k-docker/src/bin/docker-clean /etc/cron.daily/docker-clean
## Probably dangerous for docker only solution that do not
## rely on the same choices
#ln -sfn /opt/apps/0k-docker/src/bin/docker-clean /etc/cron.daily/docker-clean
## in update, will remove broken links to binaries that were removed
find -L /usr/local/sbin -maxdepth 1 -type l -ilname /opt/apps/0k-docker/\* -delete
)

Loading…
Cancel
Save