From 37c5350cbbdd46c4fea605ab32a3e6d19b6a4076 Mon Sep 17 00:00:00 2001 From: pvincent Date: Sun, 7 Jul 2019 00:05:05 +0400 Subject: [PATCH] install --- install.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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