• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/exim/0002-Don-t-make-backup-copies-of-installed-files.patch
Peter KorsgaardPeter Korsgaard committed 298cd8eaa2103 Feb 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
If exim had already been installed, the install script makes backup
copies of the pre-existing executables with a ".0" suffix.
​
This leads to useless duplicated files on the target, so disable this
piece of code.
​
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
---
 scripts/exim_install |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
​
diff --git a/scripts/exim_install b/scripts/exim_install
index 616ab3c..e68e7d5 100755
--- a/scripts/exim_install
+++ b/scripts/exim_install
@@ -344,15 +344,15 @@ while [ $# -gt 0 ]; do
 
   else
     if ../scripts/newer ${name} ${BIN_DIRECTORY}/${name}; then
-      if [ -f ${BIN_DIRECTORY}/${name} ]; then
-        echo ${CP} ${BIN_DIRECTORY}/${name} ${BIN_DIRECTORY}/${name}.O
-        ${real} ${CP} ${BIN_DIRECTORY}/${name} ${BIN_DIRECTORY}/${name}.O
-        if [ $? -ne 0 ]; then
-          echo $com ""
-          echo $com "*** Exim installation ${ver}failed ***"
-          exit 1
-        fi
-      fi
+#      if [ -f ${BIN_DIRECTORY}/${name} ]; then
+#        echo ${CP} ${BIN_DIRECTORY}/${name} ${BIN_DIRECTORY}/${name}.O
+#        ${real} ${CP} ${BIN_DIRECTORY}/${name} ${BIN_DIRECTORY}/${name}.O
+#        if [ $? -ne 0 ]; then
+#          echo $com ""
+#          echo $com "*** Exim installation ${ver}failed ***"
+#          exit 1
+#        fi
+#      fi
       echo ${CP} ${name} ${BIN_DIRECTORY}
       ${real} ${CP} ${name} ${BIN_DIRECTORY}
       if [ $? -ne 0 ]; then
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.