export PATH="/bb:$PATH"

if [ -d /tmp/tcloop/APPNAME/ ]; then
   if [ -f /usr/bin/2to3-3.6 ]; then
	rm /usr/bin/2to3-3.6
	cp -af /tmp/tcloop/APPNAME/usr/bin/2to3-3.6 /usr/bin/
   fi

   if [ -f /usr/bin/pdb3.6 ]; then
	rm /usr/bin/pdb3.6
	cp -af /tmp/tcloop/APPNAME/usr/bin/pdb3.6 /usr/bin/
   fi

   if [ -f /usr/bin/pydoc3.6 ]; then
	rm /usr/bin/pydoc3.6
	cp -af /tmp/tcloop/APPNAME/usr/bin/pydoc3.6 /usr/bin/
   fi

   if [ -f /usr/bin/pygettext3.6 ]; then
	rm /usr/bin/pygettext3.6
	cp -af /tmp/tcloop/APPNAME/usr/bin/pygettext3.6 /usr/bin/
   fi 

   if [ -f /usr/bin/pyvenv-3.6 ]; then
	rm /usr/bin/pyvenv-3.6
	cp -af /tmp/tcloop/APPNAME/usr/bin/pyvenv-3.6 /usr/bin
   fi
fi
