-
Notifications
You must be signed in to change notification settings - Fork 3
/
import-carli-key-mirror.sh
executable file
·58 lines (52 loc) · 2.58 KB
/
import-carli-key-mirror.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/bin/bash
#set -e
##################################################################################################################
# Author : Erik Dubois
# Website : https://www.erikdubois.be
# Website : https://www.alci.online
# Website : https://www.arcolinux.info
# Website : https://www.arcolinux.com
# Website : https://www.arcolinuxd.com
# Website : https://www.arcolinuxb.com
# Website : https://www.arcolinuxiso.com
# Website : https://www.arcolinuxforum.com
##################################################################################################################
#
# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK.
#
##################################################################################################################
#tput setaf 0 = black
#tput setaf 1 = red
#tput setaf 2 = green
#tput setaf 3 = yellow
#tput setaf 4 = dark blue
#tput setaf 5 = purple
#tput setaf 6 = cyan
#tput setaf 7 = gray
#tput setaf 8 = light blue
##################################################################################################################
#echo "Since keyservers are less reliable these days we install the packages from our repo"
#echo
# echo "Run the alias 'fix-pacman-keyserver'"
# echo "in a terminal first to have the correct"
# echo "keyservers in our /etc/pacman.d/gnupg/gpg.conf"
# sleep 5
#echo "get the carli key in"
#sudo pacman-key --recv-keys 7B01FA17CA801345
#echo "Lsign the keys"
#sudo pacman-key --lsign-key 7B01FA17CA801345
# echo "If there are keyserver issues..."
# echo "Download the keys from the github server"
# echo "and install them with sudo pacman -U ..."
# echo "https://github.com/arcolinuxiso/carli_repo/tree/master/x86_64 "
# echo "Download the keyring package"
# echo "Have a look at the included image"
# wget https://github.com/arcolinuxiso/carli_repo/raw/master/x86_64/carli-keyring-2.1-4-any.pkg.tar.zst -O /tmp/carli-keyring-2.1-4-any.pkg.tar.zst
# sudo pacman -U --noconfirm --needed /tmp/carli-keyring-2.1-4-any.pkg.tar.zst
# wget https://github.com/arcolinuxiso/carli_repo/raw/master/x86_64/carli-mirrorlist-22.03-01-any.pkg.tar.zst -O /tmp/carli-mirrorlist-22.03-01-any.pkg.tar.zst
# sudo pacman -U --noconfirm --needed /tmp/carli-mirrorlist-22.03-01-any.pkg.tar.zst
echo "################################################################"
echo "####### WE NO LONGER USE THIS FILE #############"
echo "####### it is part of script 30 and 40 #############"
echo "####### code stays for educational purposes #############"
echo "################################################################"