mirror of
https://github.com/Snigdha-OS/snigdhaos-system-config.git
synced 2025-09-20 11:34:58 +02:00
@eshanized: push via push.sh 🎉 !!!
This commit is contained in:
30
local/bin/snigdhaos-fix-pacman-gpg-conf
Normal file
30
local/bin/snigdhaos-fix-pacman-gpg-conf
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#set -e
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "Copying /etc/pacman.d/gnupg/gpg.conf"
|
||||||
|
echo
|
||||||
|
|
||||||
|
file_boolean=0
|
||||||
|
function check_file() {
|
||||||
|
|
||||||
|
file="/usr/local/share/snigdhaos/gpg.conf"
|
||||||
|
if [[ -f $file ]];then
|
||||||
|
echo $file " exists"
|
||||||
|
file_boolean=1
|
||||||
|
else
|
||||||
|
echo $file " doesn't exist"
|
||||||
|
file_boolean=0
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
check_file
|
||||||
|
|
||||||
|
if [ $file_boolean -eq 1 ] ; then
|
||||||
|
sudo cp /usr/local/share/snigdhaos/gpg.conf /etc/pacman.d/gnupg/gpg.conf
|
||||||
|
echo "/etc/pacman.d/gnupg/gpg.conf copied from local system"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "Task Completed!"
|
||||||
|
echo
|
16
local/share/snigdhaos/gpg.conf
Normal file
16
local/share/snigdhaos/gpg.conf
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
no-greeting
|
||||||
|
no-permission-warning
|
||||||
|
lock-never
|
||||||
|
keyserver-options timeout=10
|
||||||
|
keyserver-options import-clean
|
||||||
|
keyserver-options no-self-sigs-only
|
||||||
|
|
||||||
|
#keyserver hkp://keys.openpgp.org
|
||||||
|
#keyserver hkp://keys.openpgp.org:80
|
||||||
|
#keyserver hkps://keys.openpgp.org
|
||||||
|
#keyserver hkps://keys.openpgp.org:443
|
||||||
|
#keyserver hkps://keyserver.ubuntu.com:443
|
||||||
|
keyserver hkp://keyserver.ubuntu.com:80
|
||||||
|
#keyserver hkp://pool.sks-keyservers.net:80
|
||||||
|
#keyserver hkps://hkps.pool.sks-keyservers.net:443
|
||||||
|
#keyserver hkp://ipv4.pool.sks-keyservers.net:11371
|
Reference in New Issue
Block a user