v1.19.25
[etcher.git] / after-install.tpl
blob216ed734c7204d24a6c921f450c758d5b0d3d510
1 #!/bin/bash
3 # Link to the binary
4 # Must hardcode balenaEtcher directory; no variable available
5 ln -sf '/opt/balenaEtcher/${executable}' '/usr/bin/${executable}'
7 # SUID chrome-sandbox for Electron 5+
8 chmod 4755 '/opt/balenaEtcher/chrome-sandbox' || true
10 update-mime-database /usr/share/mime || true
11 update-desktop-database /usr/share/applications || true