1 --- iotop-0.6/setup.py.orig 2013-05-27 00:44:18.000000000 +0200
2 +++ iotop-0.6/setup.py 2021-05-08 23:20:44.340837716 +0200
4 # Dirty hack to make setup.py install the iotop script to sbin/ instead of bin/
5 # while still honoring the choice of installing into local/ or not.
6 if hasattr(distutils_install, 'INSTALL_SCHEMES'):
7 - for d in distutils_install.INSTALL_SCHEMES.itervalues():
8 + for d in distutils_install.INSTALL_SCHEMES.values():
9 if d.get('scripts', '').endswith('/bin'):
10 d['scripts'] = d['scripts'][:-len('/bin')] + '/sbin'