Skip to content

Commit

Permalink
Add postinst and postrm
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Dec 1, 2013
1 parent a8e3d23 commit 62bb396
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions debian/postinst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
update-menus
fi
4 changes: 4 additions & 0 deletions debian/postrm
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
if [ -x "`which update-menus 2>/dev/null`" ]; then
update-menus ;
fi

0 comments on commit 62bb396

Please sign in to comment.