Skip to content

Commit

Permalink
Update installer
Browse files Browse the repository at this point in the history
  • Loading branch information
frank-dspeed committed Dec 21, 2014
1 parent daadce6 commit 11626bc
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions installer
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
#!/bin/sh
if mountpoint -q /target; then
echo "Updating Scripts from docker-tools:only-bin branch"
cd /docker-tools
git fetch origin
echo "Ok Switching to only-bin"
git reset --hard origin/only-bin
sleep 5
chmod +x /docker-tools/bin/*
cd /tmp/docker-tools-only-bin
chmod +x /tmp/docker-tools-only-bin/bin/*
echo "Installing docker-tools to /target"
ls -ao bin/*
cp -r bin/* /target/
echo "Ok Switching back to master"
git reset --hard origin/master
else
echo "/target is not a mountpoint."
echo "You can either:"
Expand Down

0 comments on commit 11626bc

Please sign in to comment.