]> git.tdb.fi Git - builder.git/blobdiff - source/config.cpp
Check for missing symlinks
[builder.git] / source / config.cpp
index c6dcb70b25ee9a31f90fa0ffce557592ce36c850..e4449cc80aaad3fe16c7b628f4708bdff5a80e30 100644 (file)
@@ -34,24 +34,6 @@ bool Config::is_option(const string &name) const
        return options.count(name);
 }
 
-bool Config::update(const StringMap &opts)
-{
-       bool changed_now = false;
-       for(StringMap::const_iterator i=opts.begin(); i!=opts.end(); ++i)
-       {
-               if(set_option(i->first, i->second) && i->first!="profile")
-                       changed_now = true;
-       }
-
-       if(changed_now)
-       {
-               mtime = Time::now();
-               changed = true;
-       }
-
-       return changed_now;
-}
-
 void Config::save() const
 {
        if(!changed)
@@ -87,7 +69,6 @@ bool Config::set_option(const string &opt, const string &val)
 void Config::load()
 {
        FS::Path fn = package.get_source()/".config";
-
        FS::Stat stat = FS::stat(fn);
        if(stat)
        {