install-eg.sh: local modifications to rubygem used by EDI, per RT#57966
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Wed, 24 Oct 2018 23:34:30 +0000 (16:34 -0700)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Wed, 24 Oct 2018 23:34:30 +0000 (16:34 -0700)
deployment/install-eg.sh

index 213806e..fd0a938 100755 (executable)
@@ -303,6 +303,9 @@ if [[ -n "$EDI" ]] ; then
   cp ${BUILDDIR}/Open-ILS/src/support-scripts/edi_pusher.pl ${INSTALLDIR}/bin
   cp ${BUILDDIR}/Open-ILS/src/support-scripts/edi_fetcher.pl ${INSTALLDIR}/bin
   cp ${SYSADMIN}/files/${INSTALLDIR}/bin/edi_per_account_fetcher.sh ${INSTALLDIR}/bin/edi_per_account_fetcher.sh
+  # add local modifications to openils-mapper rubygem (eww, yuck, barf)
+  cp -b ${SYSADMIN}/files/var/lib/gems/2.3.0/gems/openils-mapper-0.9.9/lib/openils/mapper.rb /var/lib/gems/2.3.0/gems/openils-mapper-0.9.9/lib/openils/mapper.rb
+  cp -b ${SYSADMIN}/files/var/lib/gems/2.3.0/gems/openils-mapper-0.9.9/lib/edi/mapper.rb /var/lib/gems/2.3.0/gems/openils-mapper-0.9.9/lib/edi/mapper.rb
 fi
 
 # 8. setup start page