flatpak package
This commit is contained in:
parent
9c8b7b870b
commit
400e7a0e54
1 changed files with 5 additions and 3 deletions
|
|
@ -14,8 +14,6 @@ fi
|
|||
# Update system
|
||||
apt update && apt upgrade
|
||||
|
||||
# Verify flatpak is engaged properly
|
||||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
|
||||
PACKAGE_LIST=(
|
||||
bpytop
|
||||
|
|
@ -23,8 +21,8 @@ PACKAGE_LIST=(
|
|||
git
|
||||
golang
|
||||
fd-find
|
||||
flatpak
|
||||
kitty
|
||||
java-openjdk
|
||||
neofetch
|
||||
neovim
|
||||
python3
|
||||
|
|
@ -47,6 +45,7 @@ echo #######################
|
|||
echo # Installing Packages #
|
||||
echo #######################
|
||||
|
||||
|
||||
for package_name in ${PACKAGE_LIST[@]}; do
|
||||
if ! apt list --installed | grep -q "^\<$package_name\>"; then
|
||||
echo "Installing $package_name..."
|
||||
|
|
@ -58,6 +57,9 @@ for package_name in ${PACKAGE_LIST[@]}; do
|
|||
fi
|
||||
done
|
||||
|
||||
# Verify flatpak is engaged properly
|
||||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
|
||||
for flatpak_name in ${FLATPAK_LIST[@]}; do
|
||||
if ! flatpak list | grep -q $flatpak_name; then
|
||||
flatpak --user install "$flatpak_name" -y
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue