Some installation updates
This commit is contained in:
8
install.sh
Normal file → Executable file
8
install.sh
Normal file → Executable file
@ -8,8 +8,14 @@ if [[ $ID == "debian" ]]; then
|
||||
apt-get install -y rsync jq parallel
|
||||
#elif [[ $ID == "centos" ]]; then
|
||||
# yum -y install jq rsync parallel
|
||||
elif [[ $ID_LIKE == "arch" ]]; then
|
||||
pacman -S parallel jq rsync
|
||||
else
|
||||
printf "Distro not found. Exiting."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
mkdir -p /etc/file-o-bot/config.d
|
||||
cp file-o-bot /usr/local/bin/file-o-bot
|
||||
cp ./install-files/* /etc/file-o-bot/
|
||||
cp ./install-files/{default-config.ini,movement.json} /etc/file-o-bot/
|
||||
cp ./install-files/config.ini /etc/file-o-bot/config.d/
|
||||
|
Reference in New Issue
Block a user