Added support for a hup script; if the pnd.hupscript key is within the 'apps' config...
authorskeezix <skeezix@flotsam-vm.(none)>
Sat, 7 Mar 2009 06:09:00 +0000 (01:09 -0500)
committerskeezix <skeezix@flotsam-vm.(none)>
Sat, 7 Mar 2009 06:09:00 +0000 (01:09 -0500)
commitce4cbee8190489a75506a67934c149633bab7182
tree4efb56bc673642fb06bf19dfc36c4daa0a91c9b6
parent414a155956abd0e68fa91ed7147ea9d2b9514a3d
Added support for a hup script; if the pnd.hupscript key is within the 'apps' config, then after emitting .desktop files pndnotifyd will attempt to invoke the
hupscript, which could in turn hup the launcher application (to let it know to rescan)

Fiddled with re-setting-up-notifiers after autodiscovery (to handle newly mounted directories, in case user downloads an app on-device, or uses the shell, etc),
but led to some odd situations. (ie: shutting down and reopening the inotify fd seemed to cause it to immediately need a rescan, so could repeat 2 or 3 times..)
apps/pndnotifyd.c
deployment/etc/pandora/conf/apps
include/pnd_apps.h
include/pnd_utility.h
lib/pnd_utility.c
testdata/conf/apps