Changeset 4740 for install/g2full/g2postinstall.sh
- Timestamp:
- Jan 7, 2021 5:22:35 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
install/g2full/g2postinstall.sh
r4736 r4740 5 5 echo "source $PREFIX/bin/activate" >> $PREFIX/start_G2_bootstrap.sh 6 6 echo "$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/* 7 9 # 8 10 # "install" the GSAS-II package (create shortcuts, byte-compile...) 9 11 # 10 #$PREFIX/bin/python $PREFIX/GSASII/bootstrap.py --nonet > /tmp/bootstrap1.log 2>> $PREFIX/GSASII/conda_inst.log 2>&112 $PREFIX/bin/python $PREFIX/GSASII/bootstrap.py --nonet > $PREFIX/GSASII/conda_inst.log 2>&1 11 13 # 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 # 13 16 # create start script 14 17 echo "# Commands to start GSAS-II" > $PREFIX/start_GSASII.sh … … 20 23 echo "$PREFIX/bin/python $PREFIX/GSASII/GSASII.py" >> $PREFIX/start_GSASII.sh 21 24 fi 22 # in case constructor changed the binary files23 $PREFIX/bin/svn revert $PREFIX/GSASII/bindist/*24 25 #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 28 echo "GSAS-II bootstrap completed" >> $PREFIX/.messages.txt
Note: See TracChangeset
for help on using the changeset viewer.