mirror of
git://slackware.nl/current.git
synced 2024-12-28 09:59:53 +01:00
11 lines
370 B
Bash
11 lines
370 B
Bash
|
#!/bin/sh
|
||
|
# Only add the icecream directory to the PATH if we see that icecc-scheduler
|
||
|
# and/or iceccd are running on this machine:
|
||
|
|
||
|
if /usr/bin/pgrep --ns $$ -f "^/usr/sbin/icecc-scheduler" > /dev/null ; then
|
||
|
export PATH=/usr/libexec/icecc/bin:$PATH
|
||
|
elif /usr/bin/pgrep --ns $$ -f "^/usr/sbin/iceccd" > /dev/null ; then
|
||
|
export PATH=/usr/libexec/icecc/bin:$PATH
|
||
|
fi
|
||
|
|