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

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

View File

@ -1,11 +1,22 @@
#!/bin/bash #!/bin/bash
. "../src/01-common.sh" || exit 5 echo
title "Installing snap and its software..." 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 if !installed snapd; then
aptu sudo apt update
apti snapd sudo apt install -y --autoremove snapd gnome-software-plugin-snap
apti gnome-software-plugin-snap
# snapi core # snapi core
# snapi snapd # snapi snapd
else else
@ -32,6 +43,4 @@ sudo ln -s /snap/bin/certbot /usr/bin/certbot
# snapi mysql-workbench-community # snapi mysql-workbench-community
# snapi dbeaver-ce # snapi dbeaver-ce
# snapi discord # snapi discord
# snapi liquibase
# snapi postman
# snapi obs-studio # snapi obs-studio

View File

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