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
ec888aae
Commit
ec888aae
authored
7 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
Capital
parent
fe2efe6b
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-ghost
+5
-3
5 additions, 3 deletions
src/freedombone-app-ghost
with
5 additions
and
3 deletions
src/freedombone-app-ghost
+
5
−
3
View file @
ec888aae
...
...
@@ -170,7 +170,9 @@ function upgrade_ghost {
GHOST_PATH
=
/var/www/
$GHOST_DOMAIN_NAME
/htdocs
cd
$GHOST_PATH
wget
${
GHOST_DOWNLOAD_URL
}
if
[
!
-f
ghost-
${
GHOST_VERSION
}
.zip
]
;
then
wget
${
GHOST_DOWNLOAD_URL
}
fi
if
[
!
-f
ghost-
${
GHOST_VERSION
}
.zip
]
;
then
echo
$'Unable to download ghost'
exit
367245
...
...
@@ -183,7 +185,7 @@ function upgrade_ghost {
exit
729856
fi
unzip
g
host-
${
GHOST_VERSION
}
.zip
unzip
G
host-
${
GHOST_VERSION
}
.zip
if
[
!
-f
$GHOST_PATH
/index.js
]
;
then
echo
$'ghost failed to unzip'
exit
63835
...
...
@@ -405,7 +407,7 @@ function install_ghost {
exit
729856
fi
unzip
g
host-
${
GHOST_VERSION
}
.zip
unzip
G
host-
${
GHOST_VERSION
}
.zip
if
[
!
-f
/var/www/
${
GHOST_DOMAIN_NAME
}
/htdocs/index.js
]
;
then
echo
$'ghost failed to unzip'
rm
-rf
/var/www/
$GHOST_DOMAIN_NAME
...
...
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