mirror of https://github.com/lukechilds/umbrel.git
Mayank Chhabra
4 years ago
committed by
GitHub
5 changed files with 10 additions and 49 deletions
@ -1,40 +0,0 @@ |
|||
#!/bin/bash -e |
|||
|
|||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
|||
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
|||
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
|||
# IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR |
|||
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
|||
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
|||
# OTHER DEALINGS IN THE SOFTWARE. |
|||
|
|||
# Install the docker-compose box to the current working directory |
|||
# Pre-requisites: git |
|||
|
|||
check_dependencies () { |
|||
for cmd in "$@"; do |
|||
if ! command -v $cmd >/dev/null 2>&1; then |
|||
echo "This script requires \"${cmd}\" to be installed" |
|||
exit 1 |
|||
fi |
|||
done |
|||
} |
|||
|
|||
check_dependencies git |
|||
|
|||
echo "Cloning to current working directory from github..." |
|||
git init |
|||
git remote add origin https://github.com/getumbrel/umbrel.git |
|||
git fetch --all --tags |
|||
git checkout tags/v0.1.5-beta |
|||
git reset --hard tags/v0.1.5-beta |
|||
|
|||
echo "Removing stuff we don't need" |
|||
rm -fr .git |
|||
rm -fr README.md |
|||
rm -fr NETWORKING.md |
|||
rm -fr CONTRIBUTING.md |
|||
rm -fr LICENSE |
|||
rm -fr install-box.sh |
|||
|
|||
echo "Installing complete" |
Loading…
Reference in new issue