-
-
Save evanpurkhiser/9029709 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/bin/dots b/bin/dots | |
index 206a68d..54d73d2 100755 | |
--- a/bin/dots | |
+++ b/bin/dots | |
@@ -189,6 +189,10 @@ class Configuration(object): | |
# the machine should be stored in | |
default_group_file = os.path.join(INSTALL_DIR, 'config-groups') | |
+ # This is the version of the Configuration that is currently installed. Set | |
+ # to None if no config-version file exsts | |
+ current_git_version = open(os.path.join(INSTALL_DIR, 'config-version')).readline().strip() | |
+ | |
def __init__(self, group_file=default_group_file, groups=[]): | |
self.group_file = group_file | |
self.groups = groups |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment