mirror of
https://github.com/tumillanino/miasma-os.git
synced 2026-06-15 09:29:32 +00:00
@@ -13,4 +13,3 @@ setup-zsh:
|
|||||||
echo ')'
|
echo ')'
|
||||||
} >> ~/.zshrc
|
} >> ~/.zshrc
|
||||||
|
|
||||||
@echo 'eval "$(oh-my-posh init zsh --config 'https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/refs/heads/main/themes/json.omp.json')"' >> ~/.zshrc
|
|
||||||
|
|||||||
@@ -1,53 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -oue pipefail
|
|
||||||
|
|
||||||
./install-divested.sh 20250714
|
|
||||||
./install-divested.sh https://divested.dev/rpm/fedora/divested-release-20250714-1.noarch.rpm
|
|
||||||
BASE_URL='https://divested.dev/rpm/fedora'
|
|
||||||
PKG_PREFIX='divested-release'
|
|
||||||
ARCH='noarch'
|
|
||||||
RPM_SUFFIX='-1' # adjust if upstream uses a different release number
|
|
||||||
RETRY_OPTS=(--retry 3 --retry-delay 5 -S -L -O)
|
|
||||||
|
|
||||||
if [ "${#}" -eq 0 ]; then
|
|
||||||
echo "Usage: $0 YYYYMMDD | FULL_RPM_URL" >&2
|
|
||||||
exit 2
|
|
||||||
fi
|
|
||||||
|
|
||||||
INPUT="$1"
|
|
||||||
|
|
||||||
case "$INPUT" in
|
|
||||||
http:// | https://)
|
|
||||||
RPM_URL="$INPUT"
|
|
||||||
;;
|
|
||||||
[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9])
|
|
||||||
RELEASE_VERSION="$INPUT"
|
|
||||||
FILENAME="${PKG_PREFIX}-${RELEASE_VERSION}${RPM_SUFFIX}.${ARCH}.rpm"
|
|
||||||
RPM_URL="${BASE_URL}/${FILENAME}"
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo "Invalid argument. Provide a date (YYYYMMDD) or a full URL." >&2
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
TMPDIR="$(mktemp -d)"
|
|
||||||
trap 'rm -rf "$TMPDIR"' EXIT
|
|
||||||
|
|
||||||
RPM_PATH="${TMPDIR}/$(basename "$RPM_URL")"
|
|
||||||
|
|
||||||
echo "Downloading ${RPM_URL} ..."
|
|
||||||
if command -v curl >/dev/null 2>&1; then
|
|
||||||
curl "${RETRY_OPTS[@]}" -o "$RPM_PATH" "$RPM_URL"
|
|
||||||
elif command -v wget >/dev/null 2>&1; then
|
|
||||||
wget --tries=3 --wait=5 -O "$RPM_PATH" "$RPM_URL"
|
|
||||||
else
|
|
||||||
echo "Neither curl nor wget available." >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Installing ${RPM_PATH} ..."
|
|
||||||
sudo dnf install -y "$RPM_PATH"
|
|
||||||
|
|
||||||
echo "Installed $(basename "$RPM_PATH")"
|
|
||||||
18
files/scripts/installbitwig.sh
Normal file
18
files/scripts/installbitwig.sh
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
echo "Installing Bitwig Studio..."
|
||||||
|
|
||||||
|
dnf install -y libbsd bzip2-libs dpkg
|
||||||
|
|
||||||
|
curl -L -o /tmp/bitwig.deb "https://www.bitwig.com/dl/?id=419&os=installer_linux"
|
||||||
|
|
||||||
|
dpkg-deb -x /tmp/bitwig.deb /
|
||||||
|
|
||||||
|
ln -sf /usr/lib64/libbz2.so.1 /usr/lib64/libbz2.so.1.0
|
||||||
|
|
||||||
|
rm -f /tmp/bitwig.deb
|
||||||
|
|
||||||
|
echo "Bitwig Studio installation complete."
|
||||||
|
|
||||||
|
exit 0
|
||||||
15
files/scripts/installdecentsampler.sh
Normal file
15
files/scripts/installdecentsampler.sh
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/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
|
||||||
|
|
||||||
|
mkdir -p /usr/lib64/vst/decentsampler
|
||||||
|
cd Decent_Sampler-1.18.1-Linux-Static-x86_64
|
||||||
|
mv DecentSampler.so /usr/lib64/vst/decentsampler/
|
||||||
|
|
||||||
|
rm -rf /tmp/decent-sampler.tar.gz /tmp/Decent* || true
|
||||||
|
|
||||||
|
exit 0
|
||||||
@@ -9,4 +9,7 @@ modules:
|
|||||||
- installreaper.sh
|
- installreaper.sh
|
||||||
- installrenoise.sh
|
- installrenoise.sh
|
||||||
- installsurgext.sh
|
- installsurgext.sh
|
||||||
|
- installbitwig.sh
|
||||||
|
- installdecentsampler.sh
|
||||||
- branding.sh
|
- branding.sh
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user