Skip to content

Commit

Permalink
separate qeapp copy
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Sep 20, 2024
1 parent 024e631 commit d03ce60
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions before-notebook.d/00_untar-home.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,16 @@ if [[ $(ls -A ${home} | wc -l) -le 1 ]]; then

echo "Extracting $HOME_TAR to $home"
tar -xf $HOME_TAR -C "$home"

echo "Copying directory '$QE_APP_FOLDER' to '$AIIDALAB_APPS'"
cp -r "$QE_APP_FOLDER" "$AIIDALAB_APPS"
else
echo "$home folder is not empty!"
ls -lrta "$home"
fi

if [ -d $AIIDALAB_APPS/quantum-espresso ]; then
echo "Quantum ESPRESSO app does exist"
else
echo "Copying directory '$QE_APP_FOLDER' to '$AIIDALAB_APPS'"
cp -r "$QE_APP_FOLDER" "$AIIDALAB_APPS"
fi

set +eux

0 comments on commit d03ce60

Please sign in to comment.