Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LakeDropsDrupalDev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
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
Docker
LakeDropsDrupalDev
Commits
4943ef3e
Commit
4943ef3e
authored
6 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
#13
Instruct curl to follow redirects
parent
c76951b0
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
l3d
+1
-1
1 addition, 1 deletion
l3d
with
1 addition
and
1 deletion
l3d
+
1
−
1
View file @
4943ef3e
...
...
@@ -32,7 +32,7 @@ function selfUpdate {
if
[[
-n
"
$WGET
"
]]
;
then
sudo
wget
-O
${
DEST
}
${
NEWSCRIPT
}
>
/dev/null 2>&1
elif
[[
-n
"
$CURL
"
]]
;
then
sudo
curl
-o
${
DEST
}
${
NEWSCRIPT
}
>
/dev/null 2>&1
sudo
curl
-L
-o
${
DEST
}
${
NEWSCRIPT
}
>
/dev/null 2>&1
else
echo
"Could't find wget or curl to perform the update!"
exit
1
...
...
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