Up.
This commit is contained in:
parent
20c6e3cd9d
commit
23b80e7522
@ -60,25 +60,27 @@ packages=(
|
|||||||
|
|
||||||
echo -e "\033[0;32m>>>>> Begin Debian/Ubuntu Linux packages installation <<<<<\033[0m"
|
echo -e "\033[0;32m>>>>> Begin Debian/Ubuntu Linux packages installation <<<<<\033[0m"
|
||||||
|
|
||||||
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
## Add repositories and update system
|
## Add repositories and update system
|
||||||
{{- if ne .chezmoi.username "root" }}
|
{{- if ne .chezmoi.username "root" }}
|
||||||
DEBIAN_FRONTEND=noninteractive sudo -E apt-get install --yes --no-install-recommends --ignore-missing lsb-release gpg
|
sudo -E apt-get install --yes --no-install-recommends --ignore-missing lsb-release gpg
|
||||||
curl -fsSL 'https://proget.makedeb.org/debian-feeds/makedeb.pub' | gpg --dearmor | sudo tee /usr/share/keyrings/makedeb-archive-keyring.gpg 1> /dev/null
|
curl -fsSL 'https://proget.makedeb.org/debian-feeds/makedeb.pub' | gpg --dearmor | sudo tee /usr/share/keyrings/makedeb-archive-keyring.gpg 1> /dev/null
|
||||||
echo 'deb [signed-by=/usr/share/keyrings/makedeb-archive-keyring.gpg arch=all] https://proget.makedeb.org/ makedeb main' | sudo tee /etc/apt/sources.list.d/makedeb.list
|
echo 'deb [signed-by=/usr/share/keyrings/makedeb-archive-keyring.gpg arch=all] https://proget.makedeb.org/ makedeb main' | sudo tee /etc/apt/sources.list.d/makedeb.list
|
||||||
curl -fsSL 'https://proget.makedeb.org/debian-feeds/prebuilt-mpr.pub' | gpg --dearmor | sudo tee /usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg 1> /dev/null
|
curl -fsSL 'https://proget.makedeb.org/debian-feeds/prebuilt-mpr.pub' | gpg --dearmor | sudo tee /usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg 1> /dev/null
|
||||||
echo "deb [arch=all,$(dpkg --print-architecture) signed-by=/usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg] https://proget.makedeb.org prebuilt-mpr $(lsb_release -cs)" | sudo tee /etc/apt/sources.list.d/prebuilt-mpr.list
|
echo "deb [arch=all,$(dpkg --print-architecture) signed-by=/usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg] https://proget.makedeb.org prebuilt-mpr $(lsb_release -cs)" | sudo tee /etc/apt/sources.list.d/prebuilt-mpr.list
|
||||||
DEBIAN_FRONTEND=noninteractive sudo -E apt update
|
sudo -E apt update
|
||||||
DEBIAN_FRONTEND=noninteractive sudo -E apt upgrade --yes
|
sudo -E apt upgrade --yes
|
||||||
DEBIAN_FRONTEND=noninteractive sudo -E apt-get install --yes --no-install-recommends --ignore-missing mist
|
sudo -E apt-get install --yes --no-install-recommends --ignore-missing mist
|
||||||
{{- else }}
|
{{- else }}
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get install --yes --no-install-recommends --ignore-missing lsb-release gpg
|
apt-get install --yes --no-install-recommends --ignore-missing lsb-release gpg
|
||||||
curl -fsSL 'https://proget.makedeb.org/debian-feeds/makedeb.pub' | gpg --dearmor | tee /usr/share/keyrings/makedeb-archive-keyring.gpg 1> /dev/null
|
curl -fsSL 'https://proget.makedeb.org/debian-feeds/makedeb.pub' | gpg --dearmor | tee /usr/share/keyrings/makedeb-archive-keyring.gpg 1> /dev/null
|
||||||
echo 'deb [signed-by=/usr/share/keyrings/makedeb-archive-keyring.gpg arch=all] https://proget.makedeb.org/ makedeb main' | tee /etc/apt/sources.list.d/makedeb.list
|
echo 'deb [signed-by=/usr/share/keyrings/makedeb-archive-keyring.gpg arch=all] https://proget.makedeb.org/ makedeb main' | tee /etc/apt/sources.list.d/makedeb.list
|
||||||
curl -fsSL 'https://proget.makedeb.org/debian-feeds/prebuilt-mpr.pub' | gpg --dearmor | tee /usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg 1> /dev/null
|
curl -fsSL 'https://proget.makedeb.org/debian-feeds/prebuilt-mpr.pub' | gpg --dearmor | tee /usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg 1> /dev/null
|
||||||
echo "deb [arch=all,$(dpkg --print-architecture) signed-by=/usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg] https://proget.makedeb.org prebuilt-mpr $(lsb_release -cs)" | tee /etc/apt/sources.list.d/prebuilt-mpr.list
|
echo "deb [arch=all,$(dpkg --print-architecture) signed-by=/usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg] https://proget.makedeb.org prebuilt-mpr $(lsb_release -cs)" | tee /etc/apt/sources.list.d/prebuilt-mpr.list
|
||||||
DEBIAN_FRONTEND=noninteractive apt update
|
apt update
|
||||||
DEBIAN_FRONTEND=noninteractive apt upgrade --yes
|
apt upgrade --yes
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get install --yes --no-install-recommends --ignore-missing mist
|
apt-get install --yes --no-install-recommends --ignore-missing mist
|
||||||
{{- end}}
|
{{- end}}
|
||||||
|
|
||||||
mist update
|
mist update
|
||||||
@ -101,9 +103,9 @@ packages=(
|
|||||||
echo "installing ${package}..."
|
echo "installing ${package}..."
|
||||||
|
|
||||||
{{- if ne .chezmoi.username "root" }}
|
{{- if ne .chezmoi.username "root" }}
|
||||||
DEBIAN_FRONTEND=noninteractive sudo -E apt-get install --yes --no-install-recommends --ignore-missing $package
|
sudo -E apt-get install --yes --no-install-recommends --ignore-missing $package
|
||||||
{{- else }}
|
{{- else }}
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get install --yes --no-install-recommends --ignore-missing $package
|
apt-get install --yes --no-install-recommends --ignore-missing $package
|
||||||
{{- end }}
|
{{- end }}
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -37,31 +37,32 @@ echo -e "\033[0;32m>>>>> Begin LVim installation <<<<<\033[0m"
|
|||||||
|
|
||||||
{{ else if (eq .chezmoi.osRelease.id "debian" "ubuntu") -}}
|
{{ else if (eq .chezmoi.osRelease.id "debian" "ubuntu") -}}
|
||||||
|
|
||||||
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
## Update system
|
## Update system
|
||||||
{{- if ne .chezmoi.username "root" }}
|
{{- if ne .chezmoi.username "root" }}
|
||||||
DEBIAN_FRONTEND=noninteractive sudo -E apt update
|
sudo -E apt update
|
||||||
DEBIAN_FRONTEND=noninteractive sudo -E apt upgrade --yes
|
sudo -E apt upgrade --yes
|
||||||
{{- else }}
|
{{- else }}
|
||||||
DEBIAN_FRONTEND=noninteractive apt update
|
apt update
|
||||||
DEBIAN_FRONTEND=noninteractive apt upgrade --yes
|
apt upgrade --yes
|
||||||
{{- end}}
|
{{- end}}
|
||||||
|
|
||||||
## Install packages
|
## Install packages
|
||||||
packages=(${packages[@]//neovim/})
|
packages=(${packages[@]//neovim/})
|
||||||
packages=(${packages[@]//cargo/})
|
|
||||||
packages=(${packages[@]//python/python3})
|
packages=(${packages[@]//python/python3})
|
||||||
|
|
||||||
for package in ${packages[@]}; do
|
for package in ${packages[@]}; do
|
||||||
echo "installing ${package}..."
|
echo "installing ${package}..."
|
||||||
|
|
||||||
{{- if ne .chezmoi.username "root" }}
|
{{- if ne .chezmoi.username "root" }}
|
||||||
DEBIAN_FRONTEND=noninteractive sudo -E apt-get install --yes --no-install-recommends --ignore-missing $package
|
sudo -E apt-get install --yes --no-install-recommends --ignore-missing $package
|
||||||
{{- else }}
|
{{- else }}
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get install --yes --no-install-recommends --ignore-missing $package
|
apt-get install --yes --no-install-recommends --ignore-missing $package
|
||||||
{{- end }}
|
{{- end }}
|
||||||
done
|
done
|
||||||
|
|
||||||
mist install cargo neovim
|
mist install neovim
|
||||||
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user