1. Michał Górny
  2. smart-live-rebuild


Michał Górny  committed ef68f85

Use ~/.config dir for config -- do not pollute homedir.

  • Participants
  • Parent commits b0d37eb
  • Branches master

Comments (0)

Files changed (1)

File smart-live-rebuild.py

View file
  • Ignore whitespace
 			description='Enumerate all live packages in system, check their repositories for updates and remerge the updated ones. Supported VCS-es: %s.' % ', '.join(vcsnames)
 	opt.add_option('-c', '--config-file', action='store', dest='config_file',
-		help='Configuration file (default: ~/.smart-live-rebuild.conf')
+		help='Configuration file (default: ~/.config/smart-live-rebuild.conf')
 	opt.add_option('-C', '--no-color', action='store_false', dest='color',
 		help='Disable colorful output.')
 	opt.add_option('-E', '--no-erraneous-merge', action='store_false', dest='erraneous_merge',
 		'unprivileged_user': 'False'
-	opt.set_defaults(config_file = '~/.smart-live-rebuild.conf')
+	opt.set_defaults(config_file = '~/.config/smart-live-rebuild.conf')
 	c = ConfigParser(defs)
 	(opts, args) = opt.parse_args(argv[1:])