Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
rbeucher committed Feb 8, 2024
1 parent ad1fc4f commit 6f7e02e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 25 deletions.
3 changes: 1 addition & 2 deletions container/container.def
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,4 @@ Bootstrap: scratch
mkdir -p ${SINGULARITY_ROOTFS}/opt/conda/analysis3-24.01

%runscript
/usr/bin/bash -l

/usr/bin/bash -l
15 changes: 0 additions & 15 deletions modules/access-med-are-unstable

This file was deleted.

18 changes: 10 additions & 8 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,16 @@ function inner() {

pushd "${ENV_INSTALLATION_PATH}"
### Get rid of stuff from packages we don't want
for dir in bin lib etc libexec include; do
pushd $dir
for i in $( rpm -qli "${rpms_to_remove[@]}" ); do
fn=$( basename $i )
[[ -f $fn ]] && rm $fn
[[ -d $fn ]] && rm -rf $fn
done
popd
for dir in bin lib etc libexec include; do
if [[ -d "${dir}" ]]; then
pushd $dir
for i in $( rpm -qli "${rpms_to_remove[@]}" ); do
fn=$( basename $i )
[[ -f $fn ]] && rm $fn
[[ -d $fn ]] && rm -rf $fn
done
popd
fi
done

### Replace things from apps
Expand Down

0 comments on commit 6f7e02e

Please sign in to comment.