git.openpandora.org
/
pandora-libraries.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
9084f6dcc950fb772a7ce716daf35e91a8d9068d
[pandora-libraries.git]
/
testdata
/
scripts
/
pnd_hup.sh
1
#!/bin/bash
2
3
#HUP all apps who happen to look into one of the .desktop locations
4
5
PIDS=$(lsof +d /usr/share/applications /usr/local/share/applications/ /home/*/Desktop /home/*/.applications /home/*/.local/share/applications | awk '!/PID/ {print $2 }' | uniq)
6
for pid in $PIDS; do
7
kill -HUP $pid
8
done