Ignore:
Timestamp:
Jan 7, 2021 3:53:49 PM (9 months ago)
Author:
toby
Message:

more install work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • install/g2complete/post-link.sh

    r4715 r4736  
    11#!/bin/bash
    2 echo "Complete installation GSAS-II and update from APS subversion server, if on network" > $PREFIX/GSASII/conda_inst.log
    3 # create bootstrap script
    4 #echo "# Commands to run GSAS-II load/update process" > $CONDA_ROOT/start_G2_bootstrap.sh
    5 #echo "source $CONDA_ROOT/bin/activate $CONDA_DEFAULT_ENV" >> $CONDA_ROOT/start_G2_bootstrap.sh
    6 #echo "$PREFIX/bin/python $PREFIX/GSASII/bootstrap.py" >> $CONDA_ROOT/start_G2_bootstrap.sh
     2echo "Complete complete installation GSAS-II from APS subversion server" > $PREFIX/GSASII/conda_inst.log
     3# Note: for g2complete create scripts to access bootstrap & start are moved to g2postinstall.sh (g2full)
    74#
    85# "install" the GSAS-II package (create shortcuts, byte-compile...)
    96#
    10 $PREFIX/bin/python $PREFIX/GSASII/bootstrap.py --nonet > /tmp/bootstrap1.log 2>> $PREFIX/GSASII/conda_inst.log 2>&1
     7$PREFIX/bin/python $PREFIX/GSASII/bootstrap.py --nonet >> $PREFIX/GSASII/conda_inst.log 2>&1
    118# Now try to update to latest GSAS-II version (will fail if no network)
    12 $PREFIX/bin/python $PREFIX/GSASII/bootstrap.py --noinstall > /tmp/bootstrap2.log 2>> $PREFIX/GSASII/conda_inst.log 2>&1
    13 # create start script
    14 #echo "# Commands to start GSAS-II" > $CONDA_ROOT/start_GSASII.sh
    15 #echo "source $CONDA_ROOT/bin/activate $CONDA_DEFAULT_ENV" >> $CONDA_ROOT/start_GSASII.sh
    16 #if [ -e $PREFIX/bin/pythonw ]
    17 #then
    18 #   echo "$PREFIX/bin/pythonw $PREFIX/GSASII/GSASII.py" >> $CONDA_ROOT/start_GSASII.sh
    19 #else
    20 #   echo "$PREFIX/bin/python $PREFIX/GSASII/GSASII.py" >> $CONDA_ROOT/start_GSASII.sh
    21 #fi
    22 #cp $PREFIX/GSASII/conda_inst.log $PREFIX/.messages.txt
    23 echo "GSAS-II bootstrap completed" > $PREFIX/.messages.txt
     9$PREFIX/bin/python $PREFIX/GSASII/bootstrap.py --noinstall >> $PREFIX/GSASII/conda_inst.log 2>&1
     10cp $PREFIX/GSASII/conda_inst.log $PREFIX/.messages.txt
     11echo "GSAS-II bootstrap completed" >> $PREFIX/.messages.txt
Note: See TracChangeset for help on using the changeset viewer.