Moved chat program to separate script element.sh

This commit is contained in:
Ivan Jurišić 2024-01-10 15:12:15 +01:00
parent 0c94f4be34
commit 59a860964d

View File

@ -11,8 +11,6 @@ PKG_INDI="package-update-indicator"
PKG_APPS="audacious vlc synaptic gnome-disk-utility gimp hardinfo"
PKG_OFFICE="libreoffice libreoffice-gtk3 aspell-hr hunspell-hr"
PKG_NET="network-manager-gnome thunderbird net-tools remmina"
PKG_CHAT="element-desktop telegram-desktop"
#### Functions
check_root() {
@ -80,15 +78,4 @@ if choice 2>/dev/null; then
$APT_INST $PKG_FIREFOX $PKG_NET
fi
echo -ne "\nYou want to install chat programs ($PKG_CHAT)? "
if choice 2>/dev/null; then
echo -ne "\nAdd repository for Element client\n"
$APT_INST apt-transport-https wget
wget -O /usr/share/keyrings/element-io-archive-keyring.gpg https://packages.element.io/debian/element-io-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/element-io-archive-keyring.gpg] https://packages.element.io/debian/ default main" | sudo tee /etc/apt/sources.list.d/element-io.list
$APT_UPDATE
echo -ne "\n$APT_INST $PKG_CHAT\n"
$APT_INST $PKG_CHAT
fi
echo -ne "\n\n"