FS#64536 - [strongswan] .INSTALL script syntax error in 5.8.1-2
Attached to Project:
Community Packages
Opened by John Dee (john.dee) - Saturday, 16 November 2019, 16:19 GMT
Last edited by Christian Rebischke (Shibumi) - Sunday, 17 November 2019, 15:38 GMT
Opened by John Dee (john.dee) - Saturday, 16 November 2019, 16:19 GMT
Last edited by Christian Rebischke (Shibumi) - Sunday, 17 November 2019, 15:38 GMT
|
Details
Description: When upgrading strongswan to 5.8.1-2 using
pacman -Syu an error pops up.
First issue is that heredoc syntax is incorrect. If heredoc formatting is needed, "<<-" syntax must be used along with tabs for indenting (spaces not allowed). For example [\t]cat <<- EOF text [\t]EOF Or closing EOF must not have any spaces before it. Another issue is the missing closing "fi" for if clause. Additional info: Versions: strongswan-5.8.1-2, bash-5.0.011-1 Logs: ``` (2/2) upgrading strongswan [#############################################] 100% /tmp/alpm_y8WPb7/.INSTALL: line 14: warning: here-document at line 3 delimited by end-of-file (wanted `EOF') /tmp/alpm_y8WPb7/.INSTALL: line 15: syntax error: unexpected end of file /usr/bin/bash: post_upgrade: command not found error: command failed to execute correctly :: Running post-transaction hooks... ``` Steps to reproduce: Upgrade from strongswan-5.8.1-1 to strongswan-5.8.1-2. |
This task depends upon
Closed by Christian Rebischke (Shibumi)
Sunday, 17 November 2019, 15:38 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in strongswan-5.8.1-3
Sunday, 17 November 2019, 15:38 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in strongswan-5.8.1-3
if vercmp 1 2; then
fi