chore: ;s

main
CrimsonTome 2022-11-22 22:45:57 +00:00 committed by Rowan Clark
parent 6ba2a116e0
commit c047546d26
No known key found for this signature in database
GPG Key ID: F620D51904044094
1 changed files with 7 additions and 7 deletions

View File

@ -34,23 +34,23 @@ if [[ $os == "Ubuntu" ]]; then
echo "using apt package manager"; echo "using apt package manager";
sudo apt-get update && sudo apt-get upgrade; sudo apt-get update && sudo apt-get upgrade;
sudo apt install -y `cat apt-packages`; sudo apt install -y `cat apt-packages`;
cat snap-packages| xargs -n 1 sudo snap install --classic cat snap-packages| xargs -n 1 sudo snap install --classic;
wget https://dl.discordapp.net/apps/linux/0.0.21/discord-0.0.21.deb; wget https://dl.discordapp.net/apps/linux/0.0.21/discord-0.0.21.deb;
sudo apt install ./discord-0.0.21.deb; sudo apt install ./discord-0.0.21.deb;
git clone https://github.com/crimsontome/config; git clone https://github.com/crimsontome/config;
cp -f config/bin/* $userBinDir cp -f config/bin/* $userBinDir;
cp -f config/ub-server/.bashrc ~/; cp -f config/ub-server/.bashrc ~/;
cp -f config/.gitconfig ~/; cp -f config/.gitconfig ~/;
cp -f config/.ssh/config $sshDir/config cp -f config/.ssh/config $sshDir/config
elif [[ $os == "Fedora" ]]; then elif [[ $os == "Fedora" ]]; then
echo "dnf is not yet supported"; echo "dnf is not yet supported";
exit exit;
else else
echo "OS not yet supported"; echo "OS not yet supported";
exit exit;
fi fi
cd $gitdir cd $gitdir;
gh auth login gh auth login;
# after logged into gh # after logged into gh
gh repo list --limit 100 |awk '{print $1}' | xargs -L1 gh repo clone gh repo list --limit 100 |awk '{print $1}' | xargs -L1 gh repo clone;