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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Bruno Pagani (ArchangeGabriel)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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.
Comment by Mynacol (mynacol) - Monday, 28 June 2021, 14:01 GMT
Ignore point 1, bash is in the base group and assumed to be installed.

(And idk how to edit the original report)

Loading...