diff options
Diffstat (limited to 'lx-music-desktop.install')
-rw-r--r-- | lx-music-desktop.install | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lx-music-desktop.install b/lx-music-desktop.install new file mode 100644 index 000000000000..7e42ad4baaa2 --- /dev/null +++ b/lx-music-desktop.install @@ -0,0 +1,22 @@ +post_install() { + : +#!/bin/bash + +# Link to the binary +ln -sf '/opt/lx-music-desktop/lx-music-desktop' '/usr/bin/lx-music-desktop' + +# SUID chrome-sandbox for Electron 5+ +chmod 4755 '/opt/lx-music-desktop/chrome-sandbox' || true + +update-mime-database /usr/share/mime || true +update-desktop-database /usr/share/applications || true + +} +post_remove() { + : +#!/bin/bash + +# Delete the link to the binary +rm -f '/usr/bin/lx-music-desktop' + +} |