Ignore:
Timestamp:
Jan 7, 2021 5:22:35 PM (10 months ago)
Author:
toby
Message:

more install work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • install/g2full/g2postinstall.sh

    r4736 r4740  
    55echo "source $PREFIX/bin/activate" >> $PREFIX/start_G2_bootstrap.sh
    66echo "$PREFIX/bin/python $PREFIX/GSASII/bootstrap.py" >> $PREFIX/start_G2_bootstrap.sh
     7# in case constructor changed the binary files
     8$PREFIX/bin/svn revert $PREFIX/GSASII/bindist/*
    79#
    810# "install" the GSAS-II package (create shortcuts, byte-compile...)
    911#
    10 #$PREFIX/bin/python $PREFIX/GSASII/bootstrap.py --nonet > /tmp/bootstrap1.log 2>> $PREFIX/GSASII/conda_inst.log 2>&1
     12$PREFIX/bin/python $PREFIX/GSASII/bootstrap.py --nonet > $PREFIX/GSASII/conda_inst.log 2>&1
    1113# 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
     14$PREFIX/bin/python $PREFIX/GSASII/bootstrap.py --noinstall >> $PREFIX/GSASII/conda_inst.log 2>&1
     15#
    1316# create start script
    1417echo "# Commands to start GSAS-II" > $PREFIX/start_GSASII.sh
     
    2023   echo "$PREFIX/bin/python $PREFIX/GSASII/GSASII.py" >> $PREFIX/start_GSASII.sh
    2124fi
    22 # in case constructor changed the binary files
    23 $PREFIX/bin/svn revert $PREFIX/GSASII/bindist/*
    2425#create the GSAS-II app or Desktop icon (note that scripts run only on correct platform)
    25 $PREFIX/bin/python $PREFIX/GSASII/makeMacApp.py
    26 $PREFIX/bin/python $PREFIX/GSASII/makeLinux.py
     26#$PREFIX/bin/python $PREFIX/GSASII/makeMacApp.py
     27#$PREFIX/bin/python $PREFIX/GSASII/makeLinux.py
     28echo "GSAS-II bootstrap completed" >> $PREFIX/.messages.txt
Note: See TracChangeset for help on using the changeset viewer.