summaryrefslogtreecommitdiffstats
path: root/source/d/icecream/icecream.csh
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2019-10-15 20:58:56 +0000
committer Eric Hameleers <alien@slackware.com>2019-10-16 08:59:49 +0200
commit6cf09676315ded11c90f11f5137fa90bf3e260b3 (patch)
tree4167d625c21c2e88501d678729fee4584ee8b7c9 /source/d/icecream/icecream.csh
parent6e7b66a8ed16321cec52c0c2b246e9f65aaf7fef (diff)
downloadcurrent-6cf09676315ded11c90f11f5137fa90bf3e260b3.tar.gz
current-6cf09676315ded11c90f11f5137fa90bf3e260b3.tar.xz
Tue Oct 15 20:58:56 UTC 201920191015205856
ap/ghostscript-9.50-x86_64-1.txz: Upgraded. d/icecream-1.3-x86_64-2.txz: Rebuilt. Have the profile scripts just check for -x /etc/rc.d/rc.iceccd, since pgrep with --ns $$ isn't working for non-root users. Thanks to Leopold E. Midha. d/python-pip-19.3-x86_64-1.txz: Upgraded. n/bluez-5.51-x86_64-2.txz: Rebuilt. Fixed path to obexd in org.bluez.obex.service. Thanks to Jean-Philippe Guillemin. x/xf86-video-ati-19.1.0-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/d/icecream/icecream.csh')
-rw-r--r--source/d/icecream/icecream.csh18
1 files changed, 3 insertions, 15 deletions
diff --git a/source/d/icecream/icecream.csh b/source/d/icecream/icecream.csh
index 6c558d615..bcd06f058 100644
--- a/source/d/icecream/icecream.csh
+++ b/source/d/icecream/icecream.csh
@@ -1,19 +1,7 @@
#!/bin/csh
-# Only add the icecream directory to the PATH if we see that icecc-scheduler
-# and/or iceccd are running on this machine:
+# Only add the icecream directory to the PATH if we see that iceccd is
+# supposed to be running on this machine:
-setenv ICECC_PRESENT false
-/usr/bin/pgrep --ns $$ -f "^/usr/sbin/icecc-scheduler" > /dev/null
-if ( $? == 0 ) then
- setenv ICECC_PRESENT true
-endif
-
-/usr/bin/pgrep --ns $$ -f "^/usr/sbin/iceccd" > /dev/null
-if ( $? == 0 ) then
- setenv ICECC_PRESENT true
-endif
-
-if ( $ICECC_PRESENT == true ) then
+if ( -x /etc/rc.d/rc.iceccd ) then
setenv PATH /usr/libexec/icecc/bin:${PATH}
endif
-