Проба без доп.скриптов

This commit is contained in:
Anthony Axenov 2022-01-08 13:26:21 +08:00
parent 1e666bda5b
commit de926c6987
Signed by: anthony
GPG Key ID: EA9EC32FF7CCD4EC
3 changed files with 34 additions and 15 deletions

View File

@ -1,10 +1,13 @@
#!/bin/bash
. "../src/01-common.sh" || exit 5
title "Installing software from apt..."
echo
echo "==============================================="
echo "Installing software from apt..."
echo "==============================================="
echo
aptu
aptug
apti apt-transport-https \
sudo apt update && sudo apt upgrade -y --autoremove
sudo apt install -y --autoremove \
apt-transport-https \
ca-certificates \
curl \
make \
@ -39,6 +42,9 @@ apti apt-transport-https \
lsp-plugins \
lsb-release \
net-tools \
nmap \
p7zip-full \
sqlitebrowser \
# minder \
# redshift \
# redshift-gtk \

View File

@ -1,11 +1,22 @@
#!/bin/bash
. "../src/01-common.sh" || exit 5
title "Installing snap and its software..."
echo
echo "==============================================="
echo "Installing flatpak and its software..."
echo "==============================================="
echo
installed() {
command -v "$1" >/dev/null 2>&1
}
snapi() {
snap install $1 2>/dev/null
[[ $? -ne 0 ]] && snap install $1 --classic
}
if !installed snapd; then
aptu
apti snapd
apti gnome-software-plugin-snap
sudo apt update
sudo apt install -y --autoremove snapd gnome-software-plugin-snap
# snapi core
# snapi snapd
else
@ -32,6 +43,4 @@ sudo ln -s /snap/bin/certbot /usr/bin/certbot
# snapi mysql-workbench-community
# snapi dbeaver-ce
# snapi discord
# snapi liquibase
# snapi postman
# snapi obs-studio

View File

@ -1,8 +1,12 @@
#!/bin/bash
. "../src/01-common.sh" || exit 5
title "Installing flatpak and its software..."
echo
echo "==============================================="
echo "Installing flatpak and its software..."
echo "==============================================="
echo
apti flatpak \
sudo apt install -y --autoremove \
flatpak \
gnome-software-plugin-flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo