|
@ -144,8 +144,8 @@ fi |
|
|
git clone $GIT_0K_CLONE_OPTIONS "$GIT_0K_BASE/0k/0k-docker" |
|
|
git clone $GIT_0K_CLONE_OPTIONS "$GIT_0K_BASE/0k/0k-docker" |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
ln -sfn /opt/apps/0k-docker/bin/* /usr/local/sbin/ |
|
|
|
|
|
ln -sfn /opt/apps/0k-docker/bin/docker-clean /etc/cron.daily/docker-clean |
|
|
|
|
|
|
|
|
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 |
|
|
## in update, will remove broken links to binaries that were removed |
|
|
## 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 |
|
|
find -L /usr/local/sbin -maxdepth 1 -type l -ilname /opt/apps/0k-docker/\* -delete |
|
|
) |
|
|
) |
|
|