scripts/patches/spotify.sh
2024-10-24 19:36:01 +02:00

22 lines
322 B
Bash
Executable File

#!/usr/bin/env sh
verify_commands() {
commands=("curl")
for command in "${commands[@]}"; do
which $command &> /dev/null
if [ $? -ne 0 ]; then
echo "command '$command' not found"
exit 1
fi
done
}
main() {
verify_commands
sh <(curl -sSL https://spotx-official.github.io/run.sh)
}
main