Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
freedombone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Context Sensitive Group
freedombone
Commits
7c6db87b
Commit
7c6db87b
authored
8 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
Return rather than exit so as not to block other upgrades
parent
383a4cc2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/freedombone-app-xmpp
+3
-3
3 additions, 3 deletions
src/freedombone-app-xmpp
with
3 additions
and
3 deletions
src/freedombone-app-xmpp
+
3
−
3
View file @
7c6db87b
...
...
@@ -159,14 +159,14 @@ function upgrade_xmpp {
wget
$prosody_nightly_url
if
[
!
-f
${
INSTALL_DIR
}
/
${
prosody_filename
}
.tar.gz
]
;
then
echo
$"Failed to download prosody nightly
$prosody_nightly_url
"
exit
345782
return
fi
hash_value
=
$(
sha256sum
${
INSTALL_DIR
}
/
${
prosody_filename
}
.tar.gz |
awk
-F
' '
'{print $1}'
)
if
[[
"
$hash_value
"
!=
"
$prosody_nightly_hash
"
]]
;
then
rm
${
INSTALL_DIR
}
/
${
prosody_filename
}
.tar.gz
echo
$'Unexpected hash value for prosody nightly download'
exit
6824283
return
fi
tar
-xzvf
${
INSTALL_DIR
}
/
${
prosody_filename
}
.tar.gz
...
...
@@ -178,7 +178,7 @@ function upgrade_xmpp {
echo
$'Failed to build prosody nightly to /usr/bin'
rm
${
INSTALL_DIR
}
/
${
prosody_filename
}
.tar.gz
rm
-rf
${
INSTALL_DIR
}
/
${
prosody_filename
}
exit
3672345
return
fi
rm
${
INSTALL_DIR
}
/
${
prosody_filename
}
.tar.gz
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