Bodhi's Arch-based, isn't it?
if it is packages may have a <package_name>.install:
(works for me on Arch)

post_install() {
   #update-mime-database /usr/share/mime 1> /dev/null
   echo "update desktop mime database..."
   update-desktop-database -q
   #xdg-icon-resource forceupdate
}

post_upgrade() {
   post_install $1
}

pre_remove() {
   /bin/true
}

post_remove() {
   #update-mime-database /usr/share/mime 1> /dev/null
   echo "update desktop mime database..."
   update-desktop-database -q
   #xdg-icon-resource forceupdate
}
On 02/03/2013 12:13 PM, Jeff Hoogland wrote:
> Anyone know a work around to resolve the fact that E17 needs a restart to
> populate the main menu with newly added software? I get at least two
> questions a week in the Bodhi IRC/forums of new folks asking where their
> software is.
>


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to