From 28481dd9eb99ed9cbcc9f10a3a5035bcdd912857 Mon Sep 17 00:00:00 2001 From: xf0r3m Date: Fri, 15 Dec 2023 12:43:34 +0100 Subject: [PATCH] Dodanie pliku immudex-installed-packages --- immudex-installed-packages | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 immudex-installed-packages diff --git a/immudex-installed-packages b/immudex-installed-packages new file mode 100755 index 0000000..3c5c2cb --- /dev/null +++ b/immudex-installed-packages @@ -0,0 +1,19 @@ +#!/bin/bash + +RED="\e[31m"; +GREEN="\e[32m"; +ENDCOLOR="\e[0m"; +YES="\u2714"; +NO="\u2716"; + + +list="firejail ufw cryptsetup lsof extlinux grub-efi-amd64 efibootmgr bash-completion etherwake wakeonlan cifs-utils wget figlet mpv vim-gtk3 redshift irssi nmap nfs-common remmina python3-pip ffmpeg debootstrap squashfs-tools xorriso syslinux-efi grub-pc-bin grub-efi-amd64-bin mtools dosfstools chrony python3-venv isolinux rsync mutt gimp openvpn netselect-apt gvfs-backends dnsutils lolcat yt-dlp xfce4-notes-plugin newsboat ranger git qmmp vlc lynx tmux pass qemu-system-x86 libvirt-clients libvirt-daemon-system bridge-utils virtinst libvirt-daemon virt-manager conky-all mutt"; + +installedPackages=$(apt-cache pkgnames); +for pkg in $list; do + if $(echo $installedPackages | grep -q "$pkg"); then + echo -e "${pkg}: ${GREEN}${YES}${ENDCOLOR}"; + else + echo -e "${pkg}: ${RED}${NO}${ENDCOLOR}"; + fi +done -- 2.39.5