FS#71380 - [element-desktop] Do not depend on bash
Attached to Project:
Community Packages
Opened by Mynacol (mynacol) - Monday, 28 June 2021, 11:33 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Wednesday, 04 August 2021, 15:22 GMT
Opened by Mynacol (mynacol) - Monday, 28 June 2021, 11:33 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Wednesday, 04 August 2021, 15:22 GMT
|
Details
Description:
The /usr/bin/element-desktop file currently contains: ``` #!/bin/bash electron12 /usr/lib/element/app.asar "$@" ``` 1. The package doesn't depend on bash, fails for computers without bash installed. 2. There is no need to use bash here. Any /bin/sh should work, eventually speeding up execution. 3. As the shell is no longer needed, `exec` can be used, so the shell is not running in the background. |
This task depends upon
Closed by Bruno Pagani (ArchangeGabriel)
Wednesday, 04 August 2021, 15:22 GMT
Reason for closing: Implemented
Additional comments about closing: Done in 1.7.34, thanks.
Wednesday, 04 August 2021, 15:22 GMT
Reason for closing: Implemented
Additional comments about closing: Done in 1.7.34, thanks.
(And idk how to edit the original report)