This commit is contained in:
Valeria Fadeeva 2023-12-19 02:32:26 +05:00
parent 6f3732a2e6
commit afa36e6158
4 changed files with 45 additions and 5 deletions

View File

@ -0,0 +1,7 @@
[Desktop Entry]
Exec=/usr/bin/bash ~/.local/bin/copy-calamares-to-desktop.sh
Icon=
Name=copy-calamares-to-desktop.sh
Path=
Terminal=False
Type=Application

7
root/.gnupg/gpg.conf Normal file
View File

@ -0,0 +1,7 @@
personal-digest-preferences SHA512
cert-digest-algo SHA512
# keyserver hkps://keys.openpgp.org
keyserver hkp://keyserver.ubuntu.com:80
auto-key-retrieve

View File

@ -0,0 +1,17 @@
#!/bin/bash
sleep 5
if [ -f "/etc/xdg/autostart/calamares.desktop" ]; then
if [ -d "$HOME/Рабочий стол" ]; then
cp "/etc/xdg/autostart/calamares.desktop" "$HOME/Рабочий стол/"
cp "$HOME/.config/autostart/key-sign.sh.desktop" "$HOME/Рабочий стол/"
sudo chown -R 1000:1000 "$HOME"
fi
if [ -d "$HOME/Desktop/" ]; then
cp "/etc/xdg/autostart/calamares.desktop" "$HOME/Desktop/"
cp "$HOME/.config/autostart/key-sign.sh.desktop" "$HOME/Desktop/"
sudo chown -R 1000:1000 "$HOME"
fi
fi

View File

@ -22,7 +22,19 @@ haveged -w 1024
pacman-key --init
pkill haveged
pacman-key --populate archlinux melawy-linux endeavouros arcolinux chaotic cachyos
pacman-key --add /usr/share/pacman/keyrings/melawy-linux.gpg
pacman-key --lsign-key BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8
pacman-key --lsign-key B175815513971572FE7B1557CEC07AC8FF64DA4B
if [ "$have_internet" -eq 0 ]; then
pacman-key --keyserver hkps://keys.openpgp.org --recv-keys BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8
pacman-key --keyserver hkps://keyserver.ubuntu.com --recv-keys BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8
pacman-key --lsign-key BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8
pacman-key --keyserver hkps://keys.openpgp.org --recv-keys B175815513971572FE7B1557CEC07AC8FF64DA4B
pacman-key --keyserver hkps://keyserver.ubuntu.com --recv-keys B175815513971572FE7B1557CEC07AC8FF64DA4B
pacman-key --lsign-key B175815513971572FE7B1557CEC07AC8FF64DA4B
fi
pacman-key --lsign-key melawy-linux
pacman-key --lsign-key cachyos
@ -30,10 +42,7 @@ pacman-key --lsign-key arcolinux
pacman-key --lsign-key chaotic
pacman-key --lsign-key endeavouros
if [ "$have_internet" -eq 0 ]; then
pacman-key --recv-keys valeria@fadeeva.me --keyserver hkps://keys.openpgp.org
pacman-key --lsign-key valeria@fadeeva.me
fi
pacman-key --populate
pacman-key --updatedb