File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 2
2
===================
3
3
4
4
+ Roman Mogilatov
5
- + Sergii Buinytskyi
5
+ + Sergii [boonya] Buinytskyi
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ wrapper() {
6
6
BLUE=" \033[0;36m"
7
7
NORMAL=" \033[0m"
8
8
9
+ REPO_HTTPS=" https://github.com/ets-labs/python-vimrc.git"
10
+ VUNDLE_HTTPS=" https://github.com/VundleVim/Vundle.vim.git"
11
+
9
12
echo " ${BLUE} "
10
13
cat << "HELLO_TEXT "
11
14
iiii
@@ -44,14 +47,14 @@ echo "${NORMAL}"
44
47
# precedence over umasks except for filesystems mounted with option "noacl".
45
48
umask g-w,o-w
46
49
47
- printf " ${BLUE} %s${NORMAL} \n" " Cloning vimrc... "
50
+ printf " ${BLUE} %s${NORMAL} \n" " Cloning vimrc from ${REPO_HTTPS} "
48
51
49
52
hash git > /dev/null 2>&1 || {
50
53
printf " ${RED} %s${NORMAL} \n" " Error: git is not installed."
51
54
exit 1
52
55
}
53
56
54
- env git clone --depth=1 https://github.com/ets-labs/vimrc.git $VIM || {
57
+ env git clone --depth=1 $REPO_HTTPS $VIM || {
55
58
printf " ${RED} %s${NORMAL} \n" " Error: git clone of vimrc repo failed."
56
59
exit 1
57
60
}
@@ -68,11 +71,11 @@ echo "${NORMAL}"
68
71
69
72
if [ ! -d " $VIM /bundle/Vundle.vim" ]; then
70
73
printf " ${BLUE} %s${NORMAL} \n" " Installing Vundle..."
71
- env git clone --depth=1 https://github.com/VundleVim/Vundle.vim.git " $VIM /bundle/Vundle.vim"
74
+ env git clone --depth=1 $VUNDLE_HTTPS " $VIM /bundle/Vundle.vim"
72
75
fi
73
-
76
+
74
77
if [ ! -f $VIM /colors/wombat256mod.vim ]; then
75
- if [ ! -d $VIM /colors/ ]; then
78
+ if [ ! -d $VIM /colors/ ]; then
76
79
mkdir -p $VIM /colors
77
80
fi
78
81
wget ' http://www.vim.org/scripts/download_script.php?src_id=13400' -O $VIM /colors/wombat256mod.vim
You can’t perform that action at this time.
0 commit comments