diff options
author | 2019-01-11 11:50:48 +0100 | |
---|---|---|
committer | 2019-01-11 11:54:25 +0100 | |
commit | b32dcf129e8e30e28dd78ba1faebd135ea217100 (patch) | |
tree | 9a554edd01d5efbd3fc9dc2ed35582ac3057b334 /scripts/lapack-migration.sh | |
parent | sci-biology/irsabi_bidsdata: Description correct. (diff) | |
download | sci-b32dcf129e8e30e28dd78ba1faebd135ea217100.tar.gz sci-b32dcf129e8e30e28dd78ba1faebd135ea217100.tar.bz2 sci-b32dcf129e8e30e28dd78ba1faebd135ea217100.zip |
Checking for and creating config dir if needed
and improved comment style and grammar
Signed-off-by: Horea Christian <horea.christ@yandex.com>
Diffstat (limited to 'scripts/lapack-migration.sh')
-rwxr-xr-x | scripts/lapack-migration.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/lapack-migration.sh b/scripts/lapack-migration.sh index 2e6624ada..cd932c130 100755 --- a/scripts/lapack-migration.sh +++ b/scripts/lapack-migration.sh @@ -3,11 +3,14 @@ set -e EPREFIX=${1} -#Link to the workaroud we reproduce in this section : https://wiki.gentoo.org/wiki/User_talk:Houseofsuns#Migration_to_science_overlay_from_main_tree +#Link to the workaround automated by this script: https://wiki.gentoo.org/wiki/User_talk:Houseofsuns#Migration_to_science_overlay_from_main_tree #Efforts to more permanently address the issue: https://github.com/gentoo/sci/issues/805 echo "" echo "Setting Up Eselect for Gentoo Science:" echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" +if [ ! -d ${EPREFIX}/etc/portage/package.mask/ ]; then + mkdir -p ${EPREFIX}/etc/portage/package.mask/; +fi cp "sci-lapack" "${EPREFIX}/etc/portage/package.mask/" emerge --oneshot --verbose dev-util/cmake >> /dev/null emerge --oneshot --verbose app-admin/eselect::science >> /dev/null |