diff --git a/install.sh b/install.sh index acf38e4..f74f23d 100755 --- a/install.sh +++ b/install.sh @@ -1,14 +1,17 @@ #!/bin/bash if [ ! -d /opt/debian-bash ]; then - wget -c https://git.artcode.re/pvincent/debian-extra/archive/master.tar.gz -O - | tar -xz /opt/debian-bash + TEMP=`mktemp -d` + cd $TEMP + echo $TEMP + wget https://git.artcode.re/pvincent/debian-bash/archive/master.tar.gz + tar -xzf master.tar.gz + mv debian-bash /opt/ cd /opt/debian-bash - ./install.sh + sudo ./install.sh exit 0 fi -# https://github.com/amix/vimrc/raw/master/vimrcs/basic.vim - [ `id -u` -ne 0 ] && echo 'root privilege required' && exit 1 BASEDIR=$PWD