summaryrefslogtreecommitdiffstats
path: root/colorgcc/post-install
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.servegame.org>2012-07-12 22:13:01 +0200
committerpiernov <piernov@piernov.servegame.org>2012-07-12 22:13:01 +0200
commit1419453db73aff0900f05e917b44f54b0c34a840 (patch)
tree23a2ac1ebfa9a48f39661a1bf31a7bdf1cc5b1b5 /colorgcc/post-install
parentdbb1cbaf795d75e6cd98efa80ebe4979891adeb1 (diff)
downloadnutyx-extra-1419453db73aff0900f05e917b44f54b0c34a840.tar.gz
nutyx-extra-1419453db73aff0900f05e917b44f54b0c34a840.tar.bz2
nutyx-extra-1419453db73aff0900f05e917b44f54b0c34a840.tar.xz
nutyx-extra-1419453db73aff0900f05e917b44f54b0c34a840.zip
colorgcc 1.3.2-1 ajout port
Diffstat (limited to 'colorgcc/post-install')
-rwxr-xr-xcolorgcc/post-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/colorgcc/post-install b/colorgcc/post-install
new file mode 100755
index 000000000..715cffd94
--- /dev/null
+++ b/colorgcc/post-install
@@ -0,0 +1,6 @@
+#!/bin/bash
+if [ -x /usr/bin/ccache ]; then
+ for i in g++ gcc c++ cc; do
+ sed "s|${i}:.*|${i}: ccache /usr/bin/${i}|g" -i /etc/colorgcc/colorgccrc
+ done
+fi