Skip to content

Commit

Permalink
Follow a change in upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
ailispaw committed Mar 31, 2016
1 parent 2594d42 commit 5609c40
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions overlay/etc/init.d/docker
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ switch() {
if [ -d "${DOCKER_BIN_DIR}/usr/local/bin" ]; then
mv -f "${DOCKER_BIN_DIR}/usr/local/bin"/* "${DOCKER_BIN_DIR}"
rm -rf "${DOCKER_BIN_DIR}/usr"
elif [ -d "${DOCKER_BIN_DIR}/docker" ]; then
mv -f "${DOCKER_BIN_DIR}/docker" "${DOCKER_BIN_DIR}/bin"
mv -f "${DOCKER_BIN_DIR}/bin"/* "${DOCKER_BIN_DIR}"
rm -rf "${DOCKER_BIN_DIR}/bin"
fi
if [ ! -f "${DOCKER_BIN_DIR}/${DOCKER_DAEMON}" ]; then
echo " not found."
Expand Down

0 comments on commit 5609c40

Please sign in to comment.