chg to fedora
This commit is contained in:
parent
44e36a82d0
commit
50511f2bf9
|
@ -4,9 +4,6 @@ echo "Setting up GnuPG..."
|
||||||
sudo dnf install -y gnupg
|
sudo dnf install -y gnupg
|
||||||
gpg -d id_ed25519.gpg > id_ed25519
|
gpg -d id_ed25519.gpg > id_ed25519
|
||||||
|
|
||||||
echo "Installing keychain..."
|
|
||||||
sudo dnf install -y keychain
|
|
||||||
|
|
||||||
echo "Copying private key..."
|
echo "Copying private key..."
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
chmod 700 ~/.ssh
|
chmod 700 ~/.ssh
|
||||||
|
@ -15,6 +12,3 @@ cp id_ed25519.pub ~/.ssh/
|
||||||
chmod 600 ~/.ssh/id_ed25519
|
chmod 600 ~/.ssh/id_ed25519
|
||||||
chmod 644 ~/.ssh/id_ed25519.pub
|
chmod 644 ~/.ssh/id_ed25519.pub
|
||||||
|
|
||||||
echo "Configuring keychain..."
|
|
||||||
echo "# Configured for keychain" >> ~/.bashrc
|
|
||||||
echo "eval \`keychain --quiet --eval --agents ssh id_ed25519\`" >> ~/.bashrc
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
sudo apt-get purge firefox
|
sudo dnf remove firefox
|
||||||
|
|
||||||
rm -r ~/.mozilla
|
rm -r ~/.mozilla
|
||||||
sudo rm -r /etc/firefox /usr/lib/firefox /usr/lib/firefox-addons
|
sudo rm -r /etc/firefox /usr/lib/firefox /usr/lib/firefox-addons
|
||||||
|
|
Loading…
Reference in New Issue