lib/rconf/support/environment_updater.rb in rconf-0.7.6 vs lib/rconf/support/environment_updater.rb in rconf-0.7.8
- old
+ new
@@ -57,11 +57,11 @@
else
content = code + "\n" + content
end
FileUtils.mv(bashrc_path, bashrc_path + '.old')
File.open(bashrc_path, 'w') { |f| f.puts content }
+ updated = true
end
- updated = true
else
report_error "Failed to update bash resource or profile: file not found"
end
end