remove google drive

This commit is contained in:
2023-06-27 23:56:25 +03:00
parent e6e5a92f1d
commit d514294d77

View File

@@ -28,20 +28,6 @@ if [ "$(ls /home |grep saret)" != "saret" ]; then
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 <<EOF
deb http://ppa.launchpad.net/alessandro-strada/ppa/ubuntu xenial main
deb-src http://ppa.launchpad.net/alessandro-strada/ppa/ubuntu xenial main
EOF
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AD5F235DF639B041
sudo apt-get update
sudo apt-get install -y google-drive-ocamlfuse
curl -s https://notesalexp.org/debian/alexp_key.asc | sudo gpg --armor --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/alexp_key.gpg --import
sudo chmod a+r /etc/apt/trusted.gpg.d -R
sudo apt-get update -oAcquire::AllowInsecureRepositories=true
sudo apt-get -y install notesalexp-keyring -oAcquire::AllowInsecureRepositories=true
fi
if [ "$(ls /etc |grep oh-my-zsh)" = "oh-my-zsh" ]; then
sudo git clone https://github.com/zsh-users/zsh-autosuggestions /etc/oh-my-zsh/plugins/zsh-autosuggestions
sed -i "s/plugins=(/plugins=\(zsh-autosuggestions z /" ~/.zshrc