Compare commits
1 Commits
1c2b91d8c4
...
9c3a2d89b8
Author | SHA1 | Date | |
---|---|---|---|
9c3a2d89b8 |
@ -56,7 +56,7 @@ agree() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dnf_install() {
|
dnf_install() {
|
||||||
sudo apt install --yes --install-recommends $1
|
sudo dnf install --assumeyes $1
|
||||||
}
|
}
|
||||||
|
|
||||||
pip_install() {
|
pip_install() {
|
||||||
@ -65,8 +65,7 @@ pip_install() {
|
|||||||
|
|
||||||
export PATH=~/.local/bin:$PATH
|
export PATH=~/.local/bin:$PATH
|
||||||
|
|
||||||
agree "Update apt cache" && sudo apt update
|
agree "Upgrade dnf packages" "N" && sudo dnf upgrade
|
||||||
agree "Upgrade apt packages" "N" && sudo apt upgrade
|
|
||||||
|
|
||||||
missing git && agree "Install git" && dnf_install git
|
missing git && agree "Install git" && dnf_install git
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user