[Legacy] ircII EPIC For Windows
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

epic4-noncygwin-install.sh 1.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #!/bin/bash
  2. mkdir /cygdrive/c/epic4
  3. mkdir /cygdrive/c/epic4/bin
  4. mkdir /cygdrive/c/epic4/libexec
  5. mkdir -p /cygdrive/c/epic4/terminfo/x
  6. mkdir /cygdrive/c/epic4/docs
  7. mkdir -p /cygdrive/c/epic4/share/epic
  8. mkdir -p /cygdrive/c/epic4/share/epic/script
  9. mkdir -p /cygdrive/c/epic4/sosdg
  10. cp -f source/epic.exe /cygdrive/c/epic4/bin/epic.exe
  11. cp -f source/wserv4.exe /cygdrive/c/epic4/libexec/wserv4.exe
  12. cp -f /bin/cygwin1.dll /cygdrive/c/epic4/bin/cygwin1.dll
  13. cp -f /bin/cygssl-0.9.8.dll /cygdrive/c/epic4/bin/
  14. cp -f /bin/cygcrypto-0.9.8.dll /cygdrive/c/epic4/bin/
  15. cp -f /bin/cygcrypt-0.dll /cygdrive/c/epic4/bin/
  16. cp -f /bin/cygncurses-8.dll /cygdrive/c/epic4/bin/cygncurses-8.dll
  17. cp -f /bin/libW11.dll /cygdrive/c/epic4/bin/libW11.dll
  18. cp -f /bin/rxvt.exe /cygdrive/c/epic4/bin/rxvt.exe
  19. cp -f /usr/share/terminfo/x/xterm /cygdrive/c/epic4/terminfo/x/xterm
  20. cp -f /usr/share/terminfo/c/cygwin /cygdrive/c/epic4/terminfo/c/cygwin
  21. strip /cygdrive/c/epic4/bin/*.exe
  22. strip /cygdrive/c/epic4/libexec/*.exe
  23. mount -t C:/epic4 /mnt/epic4
  24. cp -f epic4-noncygwin-install.sh epic4-noncygwin-configure.sh "C:/installer scripts/epic4.nsi" /mnt/epic4/sosdg/
  25. DOCFILES="Readme Bug_form KNOWNBUGS COPYRIGHT Votes"
  26. cd ../
  27. for i in $DOCFILES; do
  28. echo "Converting $i..."
  29. rm -f /mnt/epic4/docs/$i
  30. awk 1 $i > /mnt/epic4/docs/$i
  31. done
  32. cp -fr doc/* /mnt/epic4/docs
  33. mv /cygdrive/c/epic4/docs/Readme /cygdrive/c/epic4/docs/readme-unix.txt
  34. rm -fr /cygdrive/c/epic4/share/epic/help /cygdrive/c/epic4/share/epic/script
  35. mkdir /cygdrive/c/epic4/share/epic/script
  36. cp -fr help /mnt/epic4/share/epic/
  37. cp -fr script/* /mnt/epic4/share/epic/script/
  38. umount /mnt/epic4
  39. cd /cygdrive/c/epic4
  40. find /cygdrive/c/epic4 -name CVS | xargs rm -frv
  41. find /cygdrive/c/epic4 -name cvs | xargs rm -frv
  42. find $CLAMAV -name ".cvsignore" | xargs rm -frv
  43. find $CLAMAV -name ".\#*" | xargs rm -frv
  44. chown -R Administrators:Users /cygdrive/c/epic4