mirror of
https://github.com/nihas101/steamos-scripts.git
synced 2026-10-06 00:00:19 +02:00
Add initialize_pacman script
This script will initialize pacman-key and populate some keys in preparation for the other scripts in that directory
This commit is contained in:
1 parent
0ab57334d8
commit
303992f5ad
3 files changed
+14
-4
No files matched your search
@@ -24,6 +24,15 @@ To run all scripts, simply execute
|
||||
./install_all
|
||||
```
|
||||
|
||||
If you want to run the scripts individually, make sure to execute `/scripts/initialize_pacman` beforehand, to initialize pacman-key and populate it with some trusted keys otherwise you may see this error for install scripts
|
||||
```bash
|
||||
warning: Public keyring not found; have you run 'pacman-key --init'?
|
||||
downloading required keys...
|
||||
error: keyring is not writable
|
||||
error: required key missing from keyring
|
||||
error: failed to commit transaction (could not find or read file)
|
||||
```
|
||||
|
||||
## General Tools & Misc
|
||||
|
||||
### ./scripts/install_xclip
|
||||
|
||||
+1
-4
@@ -1,9 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
sudo pacman-key --init
|
||||
sudo pacman-key --populate archlinux
|
||||
sudo pacman-key --populate holo
|
||||
sudo pacman-key --refresh-keys
|
||||
. scripts/initialize_pacman
|
||||
|
||||
. scripts/install_lein
|
||||
. scripts/install_neovim
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
sudo pacman-key --init
|
||||
sudo pacman-key --populate archlinux
|
||||
sudo pacman-key --populate holo
|
||||
sudo pacman-key --refresh-keys
|
||||
Reference in new issue
Block a user