mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-09-25 16:50:30 -04:00
* CHIA-752 - set permissions in postinst.sh for chrome-sandbox * Add check for permissions of chrome-sandbox * one-liner permissions check * prettier fix * Update build-linux-installer-deb.yml
10 lines
389 B
Bash
10 lines
389 B
Bash
#!/usr/bin/env bash
|
|
# Post install script for the UI .deb to place symlinks in places to allow the CLI to work similarly in both versions
|
|
|
|
set -e
|
|
|
|
chown -f root:root /opt/chia/chrome-sandbox || true
|
|
chmod -f 4755 /opt/chia/chrome-sandbox || true
|
|
ln -s /opt/chia/resources/app.asar.unpacked/daemon/chia /usr/bin/chia || true
|
|
ln -s /opt/chia/chia-blockchain /usr/bin/chia-blockchain || true
|