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