This commit is contained in:
Mattias Andrée 2012-08-25 21:56:29 +02:00
parent e946668e06
commit 1f409609b5

View file

@ -175,7 +175,7 @@ class Setup():
if opts['--bin-dir'] is None: opts['--bin-dir'] = ['/opt/ponysay/bin'] if opts['--bin-dir'] is None: opts['--bin-dir'] = ['/opt/ponysay/bin']
if opts['--lib-dir'] is None: opts['--lib-dir'] = ['/opt/ponysay/lib'] if opts['--lib-dir'] is None: opts['--lib-dir'] = ['/opt/ponysay/lib']
if opts['--share-dir'] is None: opts['--share-dir'] = ['/opt/ponysay/share'] if opts['--share-dir'] is None: opts['--share-dir'] = ['/opt/ponysay/share']
if opts['--cache-dir'] is None: opts['--cache-dir'] = ['/var/opt/ponysay/cache'] if conf['shared-cache'] is None: opts['shared-cache'] = ['/var/opt/ponysay/cache']
for dir in ('bin', 'lib', 'share'): for dir in ('bin', 'lib', 'share'):
if opts['--' + dir + '-dir'] is not None: if opts['--' + dir + '-dir'] is not None: