PortValhalla/scripts/Common/Config/Pennywise/install.sh

8 lines
210 B
Bash
Raw Normal View History

2023-06-15 14:56:17 +00:00
#!/bin/bash
desktopFile=/usr/share/applications/pennywise.desktop;
if ! grep "^Exec=.* --no-sandbox" "$desktopFile" > /dev/null
then
sudo sed -i '/^Exec=/s/^Exec=".*"/\0 --no-sandbox/' "$desktopFile";
fi;