haxe-postinstall.sh 371 B

12345678910111213
  1. #!/bin/sh
  2. rm -f /usr/bin/haxe
  3. rm -f /usr/local/bin/haxe
  4. rm -f /usr/bin/haxedoc
  5. rm -f /usr/local/bin/haxedoc
  6. rm -f /usr/bin/haxelib
  7. rm -f /usr/local/bin/haxelib
  8. rm -f ~/.haxelib
  9. rm -f $HOME/.haxelib
  10. ln -s /usr/local/lib/haxe/haxe /usr/local/bin/haxe
  11. cp /usr/local/lib/haxe/haxelib /usr/local/bin/haxelib
  12. mkdir -p /usr/local/lib/haxe/lib
  13. chmod 777 /usr/local/lib/haxe/lib