Fixed installations and xargs args.
This commit is contained in:
@ -5,11 +5,11 @@ set -euo
|
||||
. /etc/os-release
|
||||
|
||||
if [[ $ID == "debian" ]]; then
|
||||
apt-get install -y rsync jq parallel
|
||||
apt update && 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
|
||||
pacman -Syyu && pacman -S parallel jq rsync
|
||||
else
|
||||
printf "Distro not found. Exiting."
|
||||
exit 1
|
||||
|
Reference in New Issue
Block a user