Changes between Version 24 and Version 25 of Migration
- Timestamp:
- Apr 20, 2010, 8:02:23 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Migration
v24 v25 67 67 $ ./myports.bash 68 68 }}} 69 70 Another possibility is this script, which will list all the ports on one {{{sudo port install}}} command, rather than a separate command for each port. 71 72 {{{ 73 $ cat myports.txt | /usr/bin/sed \ 74 -e 's/@[._0-9]*//' \ 75 -e 's/(active)//' \ 76 -e 's/+/ +/g' \ 77 -e 's/[+]darwin[_i0-9]*//g' \ 78 -e 's/+macosx//g' \ 79 -e 's/+i386//g' \ 80 -e 's/+gcc[0-9]*//' \ 81 -e '$q;s/$/ \\/' \ 82 -e 's/.*currently installed:.*/#!\/bin\/bash/' \ 83 -e '/\bin\/bash/ a\ 84 sudo port install \\ 85 ' > myports.bash 86 $ chmod +x myports.bash 87 $ ./myports.bash 88 }}}