Skip to content

Commit 8c0a2b5

Browse files
committed
Fixed auth
1 parent 9adc25c commit 8c0a2b5

File tree

3 files changed

+6
-13
lines changed

3 files changed

+6
-13
lines changed

src/Utilities/current_vim_version_checker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
def check_current_vim_version_in_system():
7-
print("current vim version in system")
7+
print("Current vim version in system:")
88
command = "vim --version"
99
proc = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
1010
stdout = []

src/Utilities/installer.py

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,10 @@
88
def passInput(args):
99
sudo_pass = getpass.getpass()
1010
install_command = "sudo make install"
11-
try:
12-
install_proc = call("echo {} | sudo -S {}".format(sudo_pass, install_command), shell=True, cwd=args[1])
13-
except CalledProcessError:
14-
# TODO: fix incorrect sudo pass message
15-
# Password:Sorry, try again.
16-
# Password:
17-
# sudo: no password was provided
18-
# sudo: 1 incorrect password attempt
19-
print("\nWrong password\nRun updater again with '-fm argument'")
20-
sys_exit(1)
21-
11+
12+
install_proc = call("echo {} | sudo -S {}".format(sudo_pass, install_command), shell=True, cwd=args[1])
13+
14+
2215

2316
def check_make_status():
2417
make_check_proc = check_output(["make", "--version"])

updater.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from src.Utilities.installer import make_action
1717
from src.Utilities.installer import check_make_status
1818

19-
UPDATER_VER = "1.1"
19+
UPDATER_VER = "1.1.2"
2020
GIT_DOWNLOAD_PAGE = "http://git-scm.com/"
2121
VIM_DOWNLOAD_PAGE = "https://www.vim.org/download.php#pc"
2222
VIM_REPO = "https://github.com/vim/vim.git"

0 commit comments

Comments
 (0)