Cleaning up duplicate files from pacman-pkgs that were already installed

This commit is contained in:
stojshic 2022-01-26 20:41:36 +01:00
parent 2940bbd5c6
commit 03e2e79c2e
2 changed files with 11 additions and 22 deletions

View File

@ -73,15 +73,17 @@ echo -ne "
"
# sed $INSTALL_TYPE is using install type to check for MINIMAL installation, if it's true, stop
# stop the script and move on, not installing any more packages below that line
sed -n '/'$INSTALL_TYPE'/q;p' /root/ArchTitus/pkg-files/pacman-pkgs.txt | while read line
do
if [[ ${line} == '--END OF MINIMAL INSTALL--' ]]; then
# If selected installation type is FULL, skip the --END OF THE MINIMAL INSTALLATION-- line
continue
fi
echo "INSTALLING: ${line}"
sudo pacman -S --noconfirm --needed ${line}
done
if [[ ! $DESKTOP_ENV == server ]]; then
sed -n '/'$INSTALL_TYPE'/q;p' /root/ArchTitus/pkg-files/pacman-pkgs.txt | while read line
do
if [[ ${line} == '--END OF MINIMAL INSTALL--' ]]; then
# If selected installation type is FULL, skip the --END OF THE MINIMAL INSTALLATION-- line
continue
fi
echo "INSTALLING: ${line}"
sudo pacman -S --noconfirm --needed ${line}
done
fi
echo -ne "
-------------------------------------------------------------------------
Installing Microcode

View File

@ -6,19 +6,12 @@ xorg-drivers
xorg-xkill
xorg-xinit
xterm
base
binutils
dosfstools
grub
iptables-nft
linux
linux-firmware
linux-headers
networkmanager
noto-fonts-emoji
sudo
usbutils
vim
xdg-user-dirs
--END OF MINIMAL INSTALL--
alsa-plugins
@ -51,7 +44,6 @@ fuseiso
gamemode
gcc
gimp
git
gparted
gptfdisk
grub-customizer
@ -63,14 +55,12 @@ htop
jdk-openjdk
kitty
libdvdcss
libnewt
libtool
lsof
lutris
lzop
m4
make
nano
neofetch
ntfs-3g
ntp
@ -78,7 +68,6 @@ openbsd-netcat
openssh
os-prober
p7zip
pacman-contrib
papirus-icon-theme
patch
picom
@ -92,7 +81,6 @@ python-psutil
python-pyqt5
python-pip
qemu
rsync
snap-pack
snapper
steam
@ -108,7 +96,6 @@ unrar
unzip
virt-manager
virt-viewer
wget
which
wine-gecko
wine-mono