Add postinstall code to update the desktop file database
This commit is contained in:
parent
adcb21af62
commit
0f1f175de1
1 changed files with 3 additions and 0 deletions
|
@ -11,3 +11,6 @@ destdir = environ.get('DESTDIR', '')
|
||||||
if not destdir:
|
if not destdir:
|
||||||
print('Updating icon cache...')
|
print('Updating icon cache...')
|
||||||
call(['gtk-update-icon-cache', '-qtf', path.join(datadir, 'icons', 'hicolor')])
|
call(['gtk-update-icon-cache', '-qtf', path.join(datadir, 'icons', 'hicolor')])
|
||||||
|
|
||||||
|
print('Updating desktop database...')
|
||||||
|
call(['update-desktop-database', '-q', path.join(datadir, 'applications')])
|
||||||
|
|
Loading…
Reference in a new issue