mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-02 13:03:22 +00:00
17 lines
523 B
Bash
17 lines
523 B
Bash
#!/bin/bash
|
|
|
|
# Link to the binary
|
|
ln -sf '/opt/${sanitizedProductName}/${executable}' '/usr/bin/${executable}'
|
|
|
|
# SUID chrome-sandbox for Electron 5+
|
|
chmod 4755 '/opt/${sanitizedProductName}/chrome-sandbox' || true
|
|
|
|
update-mime-database /usr/share/mime || true
|
|
update-desktop-database /usr/share/applications || true
|
|
|
|
# Clean up configuration for old Bintray repository
|
|
rm -f /etc/apt/zulip.list
|
|
|
|
# Clean up legacy APT configuration
|
|
rm -f /etc/apt/sources.list.d/zulip-desktop.list /etc/apt/trusted.gpg.d/zulip-desktop.asc
|