Fix gpg & install yay
This commit is contained in:
parent
8e587ee2ce
commit
d8b08a1b6e
2 changed files with 8 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
;
|
;
|
||||||
|
|
Loading…
Reference in a new issue