Fix gpg & install yay

This commit is contained in:
askiiart 2023-09-07 16:34:26 -05:00
parent 8e587ee2ce
commit d8b08a1b6e
No known key found for this signature in database
GPG key ID: 3C6E4E16E36AA9E2
2 changed files with 8 additions and 1 deletions

View file

@ -106,5 +106,7 @@ chown -R "$USER:$(id -gn)" ~/.gnupg
chmod 700 ~/.gnupg chmod 700 ~/.gnupg
# Set permissions to read, write for only yourself, no others # Set permissions to read, write for only yourself, no others
chmod 600 ~/.gnupg/* chmod 600 ~/.gnupg/*
# Fixes dirmngr stuff
sudo chmod 700 $(ls -d $HOME/.gnupg/*/)
read -p "Done. Now verify your SSH and GPG keys in Git*" </dev/tty read -p "Done. Now verify your SSH and GPG keys in Git*" </dev/tty

View file

@ -12,7 +12,12 @@ if command_exists "apt-get"; then
elif command_exists "yum"; then elif command_exists "yum"; then
; ;
elif command_exists "pacman"; then elif command_exists "pacman"; then
; WD=$(pwd)
pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
cd $WD
elif command_exists "zypp"; then elif command_exists "zypp"; then
# Untested # Untested
; ;