Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Pulsar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
NDIP
Pulsar
Commits
929bffa5
Commit
929bffa5
authored
8 years ago
by
John Chilton
Browse files
Options
Downloads
Patches
Plain Diff
Remove now unused update_galaxy_client.sh.
parent
629fdeaf
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
update_galaxy_client.sh
+0
-45
0 additions, 45 deletions
update_galaxy_client.sh
with
0 additions
and
45 deletions
update_galaxy_client.sh
deleted
100755 → 0
+
0
−
45
View file @
629fdeaf
#!/bin/bash
usage
()
{
cat
<<
EOF
Usage:
${
0
##*/
}
[-i] /path/to/galaxy...
Sync Pulsar client with copy in specified Galaxy directory (or vice versa if -i).
EOF
}
if
[
$#
-lt
1
]
;
then
usage
exit
1
fi
invert
=
0
OPTIND
=
1
while
getopts
":i"
opt
;
do
case
"
$opt
"
in
h
)
usage
exit
0
;;
i
)
invert
=
1
;;
'?'
)
usage
>
&2
exit
1
;;
esac
done
shift
"
$((
OPTIND-1
))
"
# Shift off the options and optional --.
PULSAR_DIRECTORY
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
GALAXY_DIRECTORY
=
$1
GALAXY_PULSAR_DIRECTORY
=
$GALAXY_DIRECTORY
/lib/pulsar/
if
[
"
$invert
"
-ne
"1"
]
;
then
rm
-rf
$GALAXY_PULSAR_DIRECTORY
/client
cp
-r
$PULSAR_DIRECTORY
/pulsar/client
$GALAXY_PULSAR_DIRECTORY
else
rm
-rf
$PULSAR_DIRECTORY
/pulsar/client
cp
-r
$GALAXY_PULSAR_DIRECTORY
/client
$PULSAR_DIRECTORY
/pulsar
fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment