if [ "$(ls /etc/sudoers.d |grep saret)" != "saret" ]; then sudo tee /etc/sudoers.d/saret <DebianMachine.pub curl -sSL "https://www.googleapis.com/drive/v3/files/1etRrxKbD57DCyZiqhA7uOMWHzHAsclyQ?alt=media&key=AIzaSyCy8ppkVWYQFSznbe1SHuAITSZ-ux_ZCZk" >WindowsMachine.pub curl -sSL "https://www.googleapis.com/drive/v3/files/1qPxPILbk9X2wK4nbXnyGCOZs-jjq6NXZ?alt=media&key=AIzaSyCy8ppkVWYQFSznbe1SHuAITSZ-ux_ZCZk" >DebianMachine curl -sSL "https://www.googleapis.com/drive/v3/files/10y_s7IHOyqqUfdWB-HwRfYOy2EGlEAro?alt=media&key=AIzaSyCy8ppkVWYQFSznbe1SHuAITSZ-ux_ZCZk" >WindowsMachine sshpass -p "qwerty" ssh-copy-id -i ./DebianMachine.pub -o StrictHostKeyChecking=no saret@$HOSTNAME sshpass -p "qwerty" ssh-copy-id -i ./WindowsMachine.pub -o StrictHostKeyChecking=no saret@$HOSTNAME sudo reboot su $username fi if [ "$(ls -a /usr/bin/ |grep googl)" != "google-drive-ocamlfuse" ]; then sudo apt install -y software-properties-common dirmngr sudo tee /etc/apt/sources.list.d/alessandro-strada-ubuntu-ppa-bionic.list <> .zshrc #My alias alias fuck="sudo apt install -y" alias go="sudo apt -y" alias no="sudo -s" alias dl="youtube-dl -f '(mp4,mkv)bestvideo[height>=720]+bestaudio/bestvideo[height>=720]' -o '%(title)s'" alias DL="youtube-dl -f '(mp4,mkv)bestvideo[height>720]+bestaudio/bestvideo[height>720]' -o '%(title)s'" export DOTNET_ROOT=$HOME/.dotnet export PATH=$PATH:$HOME/.dotnet EOF elif [ "$HOST" = "tritium-h5" ]; su -c 'wget -O - "https://connect.jfrog.io/install_connect" | sh -s VBr9r2byCYKNaE3rgZwYZANg8BueGk3HAQ Server' sudo tee /etc/systemd/system/RunSSH.service <> .zshrc #My alias alias fuck="sudo apt install -y" alias go="sudo apt -y" alias no="sudo -s" alias dl="youtube-dl -f '(mp4,mkv)bestvideo[height>=720]+bestaudio/bestvideo[height>=720]' -o '%(title)s'" alias DL="youtube-dl -f '(mp4,mkv)bestvideo[height>720]+bestaudio/bestvideo[height>720]' -o '%(title)s'" export DOTNET_ROOT=$HOME/.dotnet export PATH=$PATH:$HOME/.dotnet EOF sudo chmod a+x /Scripts/ssh.sh sudo tee /etc/systemd/system/GoogleDrive.service <> .zshrc #My alias alias fuck="sudo apt install -y" alias go="sudo apt -y" alias no="sudo -s" alias dl="youtube-dl -f '(mp4,mkv)bestvideo[height>=720]+bestaudio/bestvideo[height>=720]' -o '%(title)s'" alias DL="youtube-dl -f '(mp4,mkv)bestvideo[height>720]+bestaudio/bestvideo[height>720]' -o '%(title)s'" alias s!="ssh Libre -X" export DOTNET_ROOT=$HOME/.dotnet export PATH=$PATH:$HOME/.dotnet EOF sudo sed -i '$a\'"\n\x64\x65\x62\x20\x68\x74\x74\x70\x73\x3a\x2f\x2f\x6e\x6f\x74\x65\x73\x61\x6c\x65\x78\x70\x2e\x6f\x72\x67\x2f\x64\x65\x62\x69\x61\x6e\x2f\x62\x75\x6c\x6c\x73\x65\x79\x65\x2f\x20\x62\x75\x6c\x6c\x73\x65\x79\x65\x20\x6d\x61\x69\x6e\x20\x63\x6f\x6e\x74\x72\x69\x62\x20\x6e\x6f\x6e\x2d\x66\x72\x65\x65\\n\x64\x65\x62\x2d\x73\x72\x63\x20\x68\x74\x74\x70\x73\x3a\x2f\x2f\x6e\x6f\x74\x65\x73\x61\x6c\x65\x78\x70\x2e\x6f\x72\x67\x2f\x64\x65\x62\x69\x61\x6e\x2f\x62\x75\x6c\x6c\x73\x65\x79\x65\x2f\x20\x62\x75\x6c\x6c\x73\x65\x79\x65\x20\x6d\x61\x69\x6e\x20\x63\x6f\x6e\x74\x72\x69\x62\x20\x6e\x6f\x6e\x2d\x66\x72\x65\x65" /etc/apt/sources.list fi