File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 3131 run : |
3232 python -m pip install py2app tomli
3333
34+ # update system to the newest version, not pin pointing package version on purpose
3435 brew update
3536 brew upgrade || true
3637 brew install aria2
Original file line number Diff line number Diff line change @@ -9,3 +9,4 @@ scripts/postinstall
99scripts_intell /postinstall
1010dist /
1111resources /
12+ FastSurferPackageContent /
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ RESOURCES_DIR="$build_dir/resources"
3333PACKAGE_NAME=FastSurfer$VERSION_NO_DOTS -macos-darwin_${ARCH_TYPE_NAME}
3434# package identifier (f.e. com.mycompany.productid)
3535ID=" org.deep-mi.FastSurfer.${VERSION_NO_DOTS} _${ARCH_TYPE_NAME} "
36- # FIXME: Must this be fixed or can this also be different?
3736# install location for the content of the package
3837INSTALLATION_DIR=" /Applications"
3938# raw package file to be created
@@ -54,6 +53,12 @@ rsync -av --progress "$FASTSURFER_HOME/" "$FASTSURFER_TO_PACKAGE" \
5453# install freesurfer into temp folder
5554" $tools_dir /build/install_fs_pruned.sh" " $STAGED_DIR " --upx --url " $URL_TO_FREESURFER "
5655
56+ if [[ ! -d " $STAGED_DIR /freesurfer" ]]
57+ then
58+ echo " FreeSurfer install was unsuccessful!"
59+ exit 1
60+ fi
61+
5762SCRIPTS_DIR=" $tools_dir /macos_build/scripts" # directory with scripts executed during installation process (f.e. preinstall postinstall)
5863PYTHON_VERSION_TEMP=$( python3 " $tools_dir /read_toml.py" --file " $FASTSURFER_HOME /pyproject.toml" --key project.requires-python)
5964PYTHON_VERSION=" ${PYTHON_VERSION_TEMP# >=} "
You can’t perform that action at this time.
0 commit comments