|
@ -1,14 +1,17 @@ |
|
|
#!/bin/bash |
|
|
#!/bin/bash |
|
|
|
|
|
|
|
|
if [ ! -d /opt/debian-bash ]; then |
|
|
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 |
|
|
cd /opt/debian-bash |
|
|
./install.sh |
|
|
|
|
|
|
|
|
sudo ./install.sh |
|
|
exit 0 |
|
|
exit 0 |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
# https://github.com/amix/vimrc/raw/master/vimrcs/basic.vim |
|
|
|
|
|
|
|
|
|
|
|
[ `id -u` -ne 0 ] && echo 'root privilege required' && exit 1 |
|
|
[ `id -u` -ne 0 ] && echo 'root privilege required' && exit 1 |
|
|
|
|
|
|
|
|
BASEDIR=$PWD |
|
|
BASEDIR=$PWD |
|
|