Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NoCloud-Auto-Installer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
NoCloud
NoCloud-Auto-Installer
Commits
1a61a857
Verified
Commit
1a61a857
authored
Oct 2, 2017
by
David Beniamine
Browse files
Options
Downloads
Patches
Plain Diff
Patch to fix Dolibarr issue #7420
parent
81eb00d4
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
DOLIBARR_PACKAGES/apply_patch.sh
+3
-0
3 additions, 0 deletions
DOLIBARR_PACKAGES/apply_patch.sh
installDolibarr.sh
+2
-0
2 additions, 0 deletions
installDolibarr.sh
upgradeDolibarr.sh
+1
-0
1 addition, 0 deletions
upgradeDolibarr.sh
with
6 additions
and
0 deletions
DOLIBARR_PACKAGES/apply_patch.sh
0 → 100644
+
3
−
0
View file @
1a61a857
#!/bin/bash
echo
"Fixing Dolibarr bug #7420"
sed
-i
.bak
"178s@'
\(
__[^_]*__
\)
'@'/
\1
/'@g"
/usr/share/dolibarr/htdocs/includes/odtphp/Segment.php
This diff is collapsed.
Click to expand it.
installDolibarr.sh
+
2
−
0
View file @
1a61a857
...
@@ -182,4 +182,6 @@ fi
...
@@ -182,4 +182,6 @@ fi
echo
"cd
${
SCRIPT_DIRECTORY
}
"
echo
"cd
${
SCRIPT_DIRECTORY
}
"
cd
${
SCRIPT_DIRECTORY
}
cd
${
SCRIPT_DIRECTORY
}
[
-f
"DOLIBARR_PACKAGES/apply_patch.sh"
]
&&
/bin/bash DOLIBARR_PACKAGES/apply_patch.sh
This diff is collapsed.
Click to expand it.
upgradeDolibarr.sh
+
1
−
0
View file @
1a61a857
...
@@ -47,5 +47,6 @@ dpkg -i $package
...
@@ -47,5 +47,6 @@ dpkg -i $package
echo
"Fixing dependencies"
echo
"Fixing dependencies"
apt-get
-f
install
apt-get
-f
install
rm
/usr/share/dolibarr/documents/install.lock
rm
/usr/share/dolibarr/documents/install.lock
[
-f
"DOLIBARR_PACKAGES/apply_patch.sh"
]
&&
/bin/bash DOLIBARR_PACKAGES/apply_patch.sh
echo
"One final step is required to upgrade to Dolibarr
$last_repo_version
:"
echo
"One final step is required to upgrade to Dolibarr
$last_repo_version
:"
echo
"Please go to your Dolibarr page and run the manual upgrade step"
echo
"Please go to your Dolibarr page and run the manual upgrade step"
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