Nicolas Cannasse 18 years ago
parent
commit
841d2df36b
1 changed files with 3 additions and 3 deletions
  1. 3 3
      std/tools/haxelib/Main.hx

+ 3 - 3
std/tools/haxelib/Main.hx

@@ -473,9 +473,9 @@ class Main {
 		catch( e : Dynamic ) try
 			neko.io.File.getContent("/etc/.haxelib")
 		catch( e : Dynamic )
-			if( setup ) {
-				if( sys == "Linux" ) "/usr/lib/haxe/"+REPNAME else "/usr/local/lib/haxe/"+REPNAME;
-			} else
+			if( setup )
+				"/usr/lib/haxe/"+REPNAME;
+			else
 				throw "This is the first time you are runing haxelib. Please run haxelib setup first";
 		if( setup ) {
 			print("Please enter haxelib repository path with write access");