profiles: discord-common: add env to private-bin (#6738)

The discord wrapper script in gentoo runs `#!/usr/bin/env bash`.

See https://github.com/gentoo/gentoo/blob/master/net-im/discord/files/launcher.sh
This commit is contained in:
matthew-sharp 2025-05-06 18:56:20 +10:00 committed by GitHub
parent a03c7f6b25
commit a7b441c4f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,7 +15,7 @@ ignore novideo
whitelist ${HOME}/.config/BetterDiscord
whitelist ${HOME}/.local/share/betterdiscordctl
private-bin awk,bash,cut,echo,egrep,electron,electron[0-9],electron[0-9][0-9],fish,grep,head,sed,sh,tclsh,tr,which,xdg-mime,xdg-open,zsh
private-bin awk,bash,cut,echo,egrep,electron,electron[0-9],electron[0-9][0-9],env,fish,grep,head,sed,sh,tclsh,tr,which,xdg-mime,xdg-open,zsh
private-etc @tls-ca
# allow D-Bus notifications