basis for a couple of install scripts

This commit is contained in:
tumillanino
2026-04-08 06:46:26 +10:00
parent c0cccee037
commit 2665d4847a
2 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT_UID=0
E_NOTROOT=87
DEFAULT_FILENAME="bitwig-studio-latest.deb"
DEFAULT_URL="https://www.bitwig.com/dl/?id=419&os=installer_linux"
INSTALL_LOG="/opt/bitwig-studio/.$DEFAULT_FILENAME.log"
SAFE_FILE_REMOVE="^/\./usr/share/*|^/\./opt/bitwig-studio/*"
curl -fsSL bitwig-studio-latest.deb $DEFAULT_URL

View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -euo pipefail
curl -L -o /tmp/decent-sampler.tar.gz "https://cdn.decentsamples.com/production/builds/ds/1.18.1/Decent_Sampler-1.18.1-Linux-Static-x86_64.tar.gz"
tar xvf /tmp/decent-sampler.tar.gz -C /tmp
cd /tmp/Decent_Sampler-1.18.1-Linux-Static-x86_64
./install.sh
rm -rf /tmp/decent-sampler.tar.gz /tmp/Renoise* || true
exit 0