peertube-cli/install.sh
2023-10-11 13:59:12 +03:00

11 lines
262 B
Bash
Executable file

#!/bin/sh
installdir="$HOME/.local/bin"
datadir="$HOME/.local/share/peertube-cli"
mkdir -p $installdir
mkdir -p $datadir
cp -r transmission-daemon config.json $datadir
cp peertube-cli.sh $installdir/peertube-cli
echo "done, make sure $installdir in your PATH"