summarylogtreecommitdiffstats
path: root/ps3toolchain.install
diff options
context:
space:
mode:
Diffstat (limited to 'ps3toolchain.install')
-rw-r--r--ps3toolchain.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/ps3toolchain.install b/ps3toolchain.install
new file mode 100644
index 000000000000..89444601ed28
--- /dev/null
+++ b/ps3toolchain.install
@@ -0,0 +1,16 @@
+post_install() {
+ if pacman -Q env-modules &> /dev/null; then
+ echo "env-modules seems to be installed:"
+ echo "If configured correctly, you can conveniently use"
+ echo " $ module load ps3toolchain"
+ echo "to set up the environment for ps3toolchain."
+ echo "Alternatively source /opt/ps3dev/ps3dev.sh."
+ else
+ echo "Source /opt/ps3dev/ps3dev.sh to use ps3toolchain."
+ fi
+
+}
+
+post_upgrade() {
+ post_install
+}