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
b1331140
Commit
b1331140
authored
6 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
Set base url even if upgrade is not happening
parent
81ba0818
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-utils-dns
+0
-1
0 additions, 1 deletion
src/freedombone-utils-dns
src/freedombone-utils-search
+2
-0
2 additions, 0 deletions
src/freedombone-utils-search
with
2 additions
and
1 deletion
src/freedombone-utils-dns
+
0
−
1
View file @
b1331140
...
...
@@ -106,7 +106,6 @@ function change_system_local_name {
if
grep
-q
"host-name=
$NEW_SYSTEM_NAME
"
/etc/avahi/avahi-daemon.conf
;
then
install_web_admin
systemctl restart webadmin
systemctl restart searx
if
[
"
$NEW_SYSTEM_NAME_INTERACTIVE
"
]
;
then
dialog
--title
$"New local network name"
\
--msgbox
$"The name of this system on your local network was changed successfully"
6 70
...
...
This diff is collapsed.
Click to expand it.
src/freedombone-utils-search
+
2
−
0
View file @
b1331140
...
...
@@ -608,6 +608,8 @@ function create_searx_config {
function
webadmin_upgrade_search
{
CURR_SEARX_COMMIT
=
$(
grep
"SEARX_COMMIT="
"
$rootdir$CONFIGURATION_FILE
"
|
head
-n
1 |
awk
-F
'='
'{print $2}'
)
if
[[
"
$CURR_SEARX_COMMIT
"
==
"
$SEARX_COMMIT
"
]]
;
then
searx_set_base_url
systemctl restart searx
return
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