diff --git a/extensions/gedit/gedit3.12-plugin/install.py b/extensions/gedit/gedit3.12-plugin/install.py
index <HASH>..<HASH> 100755
--- a/extensions/gedit/gedit3.12-plugin/install.py
+++ b/extensions/gedit/gedit3.12-plugin/install.py
@@ -106,7 +106,8 @@ def get_dirs_unix(is_admin):
     
     return dirs
 
-if os.name == 'nt':
+if os.name == 'nt' and os.path.sep == '\\':
+    # Ignore MSYS by checking if the path seperator is \
     get_dirs = get_dirs_nt
 else:
     get_dirs = get_dirs_unix
Update install.py

Gedit installer don't treat MSYS as Windows.