From 61671993dff5efa20170fad7e45a8aacdc202770 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 23 Dec 2016 03:15:34 -0500 Subject: [PATCH] dev/python/install: install from repo --- dev/python/install | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/dev/python/install b/dev/python/install index 12a4072d..8baf78f9 100755 --- a/dev/python/install +++ b/dev/python/install @@ -1,17 +1,5 @@ -#!/bin/bash +#!/usr/bin/env bash -case "$OSTYPE" in - darwin*) - brew install pyenv - ;; - linux*) - if [ ! -d "$HOME/.pyenv" ]; then - git clone https://github.com/yyuu/pyenv.git $HOME/.pyenv - fi - ;; -esac - -PWD=$(pwd -P) -mkdir -p $HOME/.config - -[ -f "$HOME/.config/flake8" ] || ln -s "$PWD/dev/python/.config/flake8" "$HOME/.config/flake8" +if [[ ! -d "$HOME/.pyenv" ]]; then + git clone https://github.com/yyuu/pyenv.git $HOME/.pyenv +fi