install xdg data only for install and develop commands

This commit is contained in:
Christophe Benz 2010-08-12 15:40:15 +02:00
commit 6a5986c7ed

View file

@ -106,6 +106,5 @@ setup(
],
)
if options.xdg:
if sys.argv[1] in ('install', 'develop') and options.xdg:
install_xdg()