Skip to content
Snippets Groups Projects
Commit 05fb3597 authored by Jan David Mol's avatar Jan David Mol
Browse files

COB-4: Changed /opt/shared/lofar to /opt/lofar-versions to allow local install...

COB-4: Changed /opt/shared/lofar to /opt/lofar-versions to allow local install (required to set capabilities on executables)
parent ccb627d4
No related branches found
No related tags found
1 merge request!6Import cobalt2 into lofar4
......@@ -36,7 +36,7 @@ while getopts "hgls:" opt; do
done
[ $OPTIND -eq 1 ] && usage
COBALT_VERSIONS_DIR=/opt/shared/lofar
COBALT_VERSIONS_DIR=/opt/lofar-versions
[ -d "$COBALT_VERSIONS_DIR" ] || error "Directory not found: $COBALT_VERSIONS_DIR"
......@@ -66,7 +66,7 @@ if [ -n "$SET_VERSION" ]; then
[ -d "${COBALT_VERSIONS_DIR}/${VERSION}" ] || return 1
# Move symlink, activating selected version
ln -sfT "${COBALT_VERSIONS_DIR}/${VERSION}" /opt/shared/lofar/current || return 1
ln -sfT "${COBALT_VERSIONS_DIR}/${VERSION}" "${COBALT_VERSIONS_DIR}/current" || return 1
return 0
}
......
......@@ -33,7 +33,7 @@ rm -f /tmp/${FILENAME}
# Post-install
#
cd /opt/shared/lofar/${RELEASE_NAME} || exit 1
cd /opt/lofar-versions/${RELEASE_NAME} || exit 1
# Sym link installed var/ to common location.
ln -sfT ~lofarsys/lofar-userdata/var var
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment