Skip to content

Commit 0ca3b47

Browse files
author
Amitayush Thakur
committed
Fixed installation script.
1 parent 4eea768 commit 0ca3b47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/itp_interface/main/install.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def install_lean_repl():
5757
break
5858
# Make sure that .elan is installed
5959
print("Checking if .elan is installed")
60-
if os.path.exists(os.path.expanduser("~/.elan")):
60+
if os.system("elan --version") == 0:
6161
print("[OK] .elan is installed")
6262
else:
6363
print("Installing .elan")

0 commit comments

Comments
 (0)