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
b94090b8
Commit
b94090b8
authored
8 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
Drop the database on install failure
parent
3695d6a1
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/freedombone-app-gnusocial
+1
-0
1 addition, 0 deletions
src/freedombone-app-gnusocial
src/freedombone-app-postactiv
+1
-0
1 addition, 0 deletions
src/freedombone-app-postactiv
with
2 additions
and
0 deletions
src/freedombone-app-gnusocial
+
1
−
0
View file @
b94090b8
...
...
@@ -711,6 +711,7 @@ function install_gnusocial_main {
# check gnusocial has a config file
gnusocial_config_file
=
/var/www/
$GNUSOCIAL_DOMAIN_NAME
/htdocs/config.php
if
[
!
-f
$gnusocial_config_file
]
;
then
drop_database gnusocial
rm
-rf
/var/www/
$GNUSOCIAL_DOMAIN_NAME
echo
$'Gnusocial config.php not found'
exit
87586
...
...
This diff is collapsed.
Click to expand it.
src/freedombone-app-postactiv
+
1
−
0
View file @
b94090b8
...
...
@@ -555,6 +555,7 @@ function install_postactiv_main {
# check postactiv has a config file
postactiv_config_file
=
/var/www/
$POSTACTIV_DOMAIN_NAME
/htdocs/config.php
if
[
!
-f
$postactiv_config_file
]
;
then
drop_database postactiv
rm
-rf
/var/www/
$POSTACTIV_DOMAIN_NAME
echo
$'Postactiv config.php not found'
exit
87586
...
...
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