Skip to content

Commit

Permalink
fix command not found
Browse files Browse the repository at this point in the history
  • Loading branch information
abretaud committed Oct 4, 2019
1 parent 1ded532 commit 3338a28
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions galaxy/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -425,21 +425,21 @@ if [[ ! -z $GALAXY_DEFAULT_ADMIN_USER ]]
if [ -x /export/post-start-actions.sh ]
then
# uses ephemeris, present in docker-galaxy-stable, to wait for the local instance
galaxy-wait -g http://127.0.0.1 -v --timeout 120 > $GALAXY_LOGS_DIR/post-start-actions.log &&
/tool_deps/_conda/bin/galaxy-wait -g http://127.0.0.1 -v --timeout 120 > $GALAXY_LOGS_DIR/post-start-actions.log &&
/export/post-start-actions.sh >> $GALAXY_LOGS_DIR/post-start-actions.log &
fi
fi

# Reinstall tools if the user want to
if [[ ! -z $GALAXY_AUTO_UPDATE_TOOLS ]]
then
galaxy-wait -g http://127.0.0.1 -v --timeout 120 > /home/galaxy/logs/post-start-actions.log &&
/tool_deps/_conda/bin/galaxy-wait -g http://127.0.0.1 -v --timeout 120 > /home/galaxy/logs/post-start-actions.log &&
OLDIFS=$IFS
IFS=','
for TOOL_YML in `echo "$GALAXY_AUTO_UPDATE_TOOLS"`
do
echo "Installing tools from $TOOL_YML"
shed-tools install -g "http://127.0.0.1" -a "$GALAXY_DEFAULT_ADMIN_KEY" -t "$TOOL_YML"
/tool_deps/_conda/bin/shed-tools install -g "http://127.0.0.1" -a "$GALAXY_DEFAULT_ADMIN_KEY" -t "$TOOL_YML"
/tool_deps/_conda/bin/conda clean --tarballs --yes
done
IFS=$OLDIFS
Expand Down

0 comments on commit 3338a28

Please sign in to comment.