forked from cohabit/server_config
fix: cache newly added apt source before install
This commit is contained in:
parent
4fe08982cd
commit
5297c81fee
|
@ -5,6 +5,7 @@ if [[ $(which eza) != "/usr/bin/eza" ]]; then
|
||||||
wget -qO- https://raw.githubusercontent.com/eza-community/eza/main/deb.asc | gpg --dearmor -o /etc/apt/keyrings/gierens.gpg
|
wget -qO- https://raw.githubusercontent.com/eza-community/eza/main/deb.asc | gpg --dearmor -o /etc/apt/keyrings/gierens.gpg
|
||||||
echo "deb [signed-by=/etc/apt/keyrings/gierens.gpg] http://deb.gierens.de stable main" | tee /etc/apt/sources.list.d/gierens.list
|
echo "deb [signed-by=/etc/apt/keyrings/gierens.gpg] http://deb.gierens.de stable main" | tee /etc/apt/sources.list.d/gierens.list
|
||||||
chmod 644 /etc/apt/keyrings/gierens.gpg /etc/apt/sources.list.d/gierens.list
|
chmod 644 /etc/apt/keyrings/gierens.gpg /etc/apt/sources.list.d/gierens.list
|
||||||
|
apt update # Cache new repository
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Install or upgrade zsh and eza
|
# Install or upgrade zsh and eza
|
||||||
|
|
Loading…
Reference in a new issue