Compare commits

..

1 Commits

Author SHA1 Message Date
9c3a2d89b8 Add bootstrap-Fedora.sh
usage: ./bootstrap-Fedora.sh [-h] [-y]

Bootstrap a Debian based distribution with:

* upgrade dnf packages
* git - from dnf
* virtualenv - from dnf
* SSH key - from ssh-keygen
* GitHub public key - with SSH key
* GitLab public key - with SSH key
* BitBucket Cloud public key - with SSH key
* Gogs Cloud public key - with SSH key
* conduit - configuration manager

If any already exist they will not be reinstalled.

optional arguments:
        -h              show this help message and exit
        -y              assume yes when prompted
2020-12-31 15:16:52 +00:00

View File

@ -56,7 +56,7 @@ agree() {
}
dnf_install() {
sudo apt install --yes --install-recommends $1
sudo dnf install --assumeyes $1
}
pip_install() {
@ -65,8 +65,7 @@ pip_install() {
export PATH=~/.local/bin:$PATH
agree "Update apt cache" && sudo apt update
agree "Upgrade apt packages" "N" && sudo apt upgrade
agree "Upgrade dnf packages" "N" && sudo dnf upgrade
missing git && agree "Install git" && dnf_install git