The program `tempfile` apparently isn't available on a default CentOS install, that causes the installer break.

Changing line 39 from TEMPFILE=`tempfile` to TEMPFILE=`mktemp` which is available on CentOS aswell as on Ubuntu platforms fixes the problem.

CommentFileSizeAuthor
#1 CentOS-compatibility-1123176-1.patch412 bytessanduhrs
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sanduhrs’s picture

Status: Active » Needs review
FileSize
412 bytes

Patch is attached, please review.

Anonymous’s picture

Status: Needs review » Fixed

Seems reasonable, tested an upgrade and it still worked. Committed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit f015c9e on 6.x-1.x, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-subdir-multiserver, 6.x-2.x-backports, dev-helmo-3.x by mig5:
    #1123176 by sanduhrs - switch to mktemp instead of tempfile in upgrade...
  • Commit dd6b5d8 on debian, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-subdir-multiserver, 6.x-2.x-backports, dev-helmo-3.x authored by mig5, committed by anarcat:
    #1123176 by sanduhrs - switch to mktemp instead of tempfile in upgrade...