build: Fix post-install script indentation
Python best practices say that indentation should be a multiple of 4.
This commit is contained in:
parent
733184cc21
commit
e776111bc0
1 changed files with 4 additions and 4 deletions
|
@ -8,8 +8,8 @@ gsettingsschemadir = os.path.join(sys.argv[1], 'glib-2.0', 'schemas')
|
||||||
icondir = os.path.join(sys.argv[1], 'icons', 'hicolor')
|
icondir = os.path.join(sys.argv[1], 'icons', 'hicolor')
|
||||||
|
|
||||||
if not os.environ.get('DESTDIR'):
|
if not os.environ.get('DESTDIR'):
|
||||||
print('Compiling gsettings schemas...')
|
print('Compiling gsettings schemas...')
|
||||||
subprocess.call(['glib-compile-schemas', gsettingsschemadir])
|
subprocess.call(['glib-compile-schemas', gsettingsschemadir])
|
||||||
|
|
||||||
print('Update icon cache...')
|
print('Update icon cache...')
|
||||||
subprocess.call(['gtk-update-icon-cache', '-f', '-t', icondir])
|
subprocess.call(['gtk-update-icon-cache', '-f', '-t', icondir])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue