postinstall script

This commit is contained in:
antelle 2016-04-02 22:37:25 +03:00
parent e78d21c725
commit 68a51a27c5
3 changed files with 7 additions and 2 deletions

View File

@ -400,7 +400,10 @@ module.exports = function(grunt) {
},
info: {
arch: 'amd64',
targetDir: 'tmp/desktop'
targetDir: 'tmp/desktop',
scripts: {
postinst: 'package/deb/scripts/postinst'
}
}
},
files: [

View File

@ -20,7 +20,7 @@
"grunt-contrib-clean": "^0.7.0",
"grunt-contrib-compress": "^0.14.0",
"grunt-contrib-copy": "^0.8.2",
"grunt-contrib-deb": "github:antelle/grunt-contrib-deb#e65898f",
"grunt-contrib-deb": "github:antelle/grunt-contrib-deb#6a0b00d",
"grunt-contrib-htmlmin": "^0.6.0",
"grunt-contrib-jshint": "^0.11.2",
"grunt-contrib-uglify": "^0.10.1",

2
package/deb/scripts/postinst Executable file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env bash
sudo gtk-update-icon-cache --force /usr/share/icons/hicolor