Skip to content
Snippets Groups Projects
Verified Commit 1a61a857 authored by David Beniamine's avatar David Beniamine
Browse files

Patch to fix Dolibarr issue #7420

parent 81eb00d4
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
echo "Fixing Dolibarr bug #7420"
sed -i.bak "178s@'\(__[^_]*__\)'@'/\1/'@g" /usr/share/dolibarr/htdocs/includes/odtphp/Segment.php
...@@ -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
...@@ -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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment