mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-19 12:57:16 +00:00
12 lines
357 B
Smarty
12 lines
357 B
Smarty
#!/bin/bash
|
|
|
|
# Link to the binary
|
|
# Must hardcode balenaEtcher directory; no variable available
|
|
ln -sf '/opt/balenaEtcher/${executable}' '/usr/bin/${executable}'
|
|
|
|
# SUID chrome-sandbox for Electron 5+
|
|
chmod 4755 '/opt/balenaEtcher/chrome-sandbox' || true
|
|
|
|
update-mime-database /usr/share/mime || true
|
|
update-desktop-database /usr/share/applications || true
|