You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
just want to point out that the tools/update.sh script is using the interpreter /bin/sh which was done for compatibility reasons I guess.
But on recent distros like deb 12 this throws a compatibility error because the double bracket compare is a enhanced bash feature not available in the compatible SH mode.
update.sh output with sh
-e Starting updating process: 2024-09-03_09:32:37
-e Make sure to create a backup of the application before you continue.
-e Application root: /var/www/html
./tools/update.sh: 102: [[: not found
-e Current branch: dist
-e You already have the latest version of the application, no upgrade needed.
Fix is simple to move the interpreter to #!/bin/bash and it runs smooth:
update.sh output with bash
Starting updating process: 2024-09-03_09:33:08
Make sure to create a backup of the application before you continue.
Application root: /var/www/html
Current branch: dist
You already have the latest version of the application, no upgrade needed.
The text was updated successfully, but these errors were encountered:
Hey,
just want to point out that the tools/update.sh script is using the interpreter /bin/sh which was done for compatibility reasons I guess.
But on recent distros like deb 12 this throws a compatibility error because the double bracket compare is a enhanced bash feature not available in the compatible SH mode.
update.sh output with sh
Fix is simple to move the interpreter to #!/bin/bash and it runs smooth:
update.sh output with bash
The text was updated successfully, but these errors were encountered: