<key>IFInstallationScriptsPostinstall</key>
<dict>
<key>Path</key>
- <string></string>
+ <string>postinstall.sh</string>
+ <key>Path Type</key>
+ <integer>2</integer>
<key>Status</key>
- <false/>
+ <true/>
</dict>
<key>IFInstallationScriptsPostupgrade</key>
<dict>
<key>IFInstallationScriptsPreinstall</key>
<dict>
<key>Path</key>
- <string></string>
+ <string>preinstall.sh</string>
+ <key>Path Type</key>
+ <integer>2</integer>
<key>Status</key>
- <false/>
+ <true/>
</dict>
<key>IFInstallationScriptsPreupgrade</key>
<dict>
--- /dev/null
+#! /bin/sh
+echo "export SIMGRID_ROOT=/Applications/SimGrid" >> ~/.profile
+echo "export DYLD_LYBRARY_PATH=$DYLD_LYBRARY_PATH:$SIMGRID_ROOT/lib" >> ~/.profile
\ No newline at end of file
--- /dev/null
+#! /bin/bash
+echo "\n#SIMGRID ICEBERG" >> ~/.profile
+return 0
\ No newline at end of file
+++ /dev/null
-#! /bin/sh
-export LD_LIBRARY_PATH=$3/lib:$LD_LIBRARY_PATH
-export JAVA_LIBRARY_PATH=:$3/lib:$JAVA_LIBRARY_PATH
-cd $1
-echo "LD_LIBRARY_PATH = $LD_LIBRARY_PATH"
-echo "JAVA_LIBRARY_PATH = $JAVA_LIBRARY_PATH"
-pwd
-echo "java -cp .:$3/simgrid.jar $2 *platform.xml *deployment.xml"
-java -cp .:$3/simgrid.jar $2 *platform.xml *deployment.xml