Add semi-important packages and update packages.csv

This commit is contained in:
Santiago Lo Coco 2022-01-02 12:42:55 -03:00
parent c4272301fa
commit 2893f66655
2 changed files with 26 additions and 28 deletions

View File

@ -146,6 +146,7 @@ checkForParu() {
commOutput=$(runInChroot "command -v paru > /dev/null 2>&1 || echo 1") commOutput=$(runInChroot "command -v paru > /dev/null 2>&1 || echo 1")
if [ "$commOutput" = "1" ]; then if [ "$commOutput" = "1" ]; then
runInChroot "sed -i 's/# %wheel ALL=(ALL) NOPASSWD: ALL/%wheel ALL=(ALL) NOPASSWD: ALL/' /etc/sudoers" runInChroot "sed -i 's/# %wheel ALL=(ALL) NOPASSWD: ALL/%wheel ALL=(ALL) NOPASSWD: ALL/' /etc/sudoers"
[ -z $username ] && loadUsername
runInChroot "cd /tmp; sudo -u $username git clone https://aur.archlinux.org/paru-bin.git; cd paru-bin; sudo -u $username makepkg -si --noconfirm; cd ..; rm -rf paru-bin" 2>&1 | debug runInChroot "cd /tmp; sudo -u $username git clone https://aur.archlinux.org/paru-bin.git; cd paru-bin; sudo -u $username makepkg -si --noconfirm; cd ..; rm -rf paru-bin" 2>&1 | debug
fi fi
} }
@ -299,13 +300,11 @@ EOF
return $? return $?
} }
installNotImportantPackages() { installOtherPackages() {
calcHeightAndRun "whiptail --msgbox \"Now, we will install a few more packages (in the background). Press OK and wait (it may take some time).\" HEIGHT 60 3>&1 1>&2 2>&3" calcHeightAndRun "whiptail --msgbox \"Now, we will install a few more packages (in the background). Press OK and wait (it may take some time).\" HEIGHT 60 3>&1 1>&2 2>&3"
[ -z $username ] && loadUsername getThePackages "S" "installOtherPackages"
# TODO: Add "S" packages that will be the ones that depend on locale: base-devel and git.
# getThePackages "S" "installNotImportantPackages"
checkForParu checkForParu
getThePackages "N" "installNotImportantPackages" getThePackages "N" "installOtherPackages"
runInChroot "sed -i 's/^%wheel ALL=(ALL) NOPASSWD: ALL/# %wheel ALL=(ALL) NOPASSWD: ALL/' /etc/sudoers" runInChroot "sed -i 's/^%wheel ALL=(ALL) NOPASSWD: ALL/# %wheel ALL=(ALL) NOPASSWD: ALL/' /etc/sudoers"
} }
@ -324,10 +323,9 @@ finishInstallation() {
zshConfig() { zshConfig() {
# TODO: Choose between zsh-theme-powerlevel10k-git (AUR) and zsh-theme-powerlevel10k (community) # TODO: Choose between zsh-theme-powerlevel10k-git (AUR) and zsh-theme-powerlevel10k (community)
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended 2>&1 | debug # sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended 2>&1 | debug
mkdir -p $HOME/.cache/zsh mkdir -p $HOME/.cache/zsh
touch $HOME/.cache/zsh/.histfile touch $HOME/.cache/zsh/.histfile
git clone https://github.com/romkatv/powerlevel10k.git $HOME/.oh-my-zsh/custom/themes/powerlevel10k 2>&1 | debug
} }
getDotfiles() { getDotfiles() {
@ -340,14 +338,14 @@ getDotfiles() {
cd $lastFolder cd $lastFolder
sudo rm -f ~/.bashrc /usr/bin/CocoASAIS sudo rm -f ~/.bashrc /usr/bin/CocoASAIS
calcWidthAndRun "whiptail --infobox \"Installing 'zaread-git'.\" 7 WIDTH" # calcWidthAndRun "whiptail --infobox \"Installing 'zaread-git'.\" 7 WIDTH"
set -o pipefail # set -o pipefail
paru -Q zaread-git 2>&1 | debug # paru -Q zaread-git 2>&1 | debug
if [ $? -eq 1 ]; then # if [ $? -eq 1 ]; then
paru -S --needed --noconfirm --skipreview zaread-git 2>&1 | debug # paru -S --needed --noconfirm --skipreview zaread-git 2>&1 | debug
fi # fi
set +o pipefail # set +o pipefail
chsh -s $(which zsh) # chsh -s $(which zsh)
} }
steps=( steps=(
@ -363,7 +361,7 @@ steps=(
updateMirrors updateMirrors
grubSetUp grubSetUp
userSetUp userSetUp
installNotImportantPackages installOtherPackages
finishInstallation finishInstallation
) )

View File

@ -1,11 +1,11 @@
NAME,IMPORTANT,INSTALLER NAME,IMPORTANT,INSTALLER
base,Y,A base,Y,A
base-devel,Y,A base-devel,S,B
linux,Y,A linux,Y,A
linux-firmware,Y,A linux-firmware,Y,A
libxft-bgra,N,C libxft-bgra,N,C
alacritty,N,B alacritty,N,B
alsa-utils,Y,B alsa-utils,S,B
bc,N,B bc,N,B
binwalk,N,B binwalk,N,B
bitwarden,N,B bitwarden,N,B
@ -26,7 +26,7 @@ flameshot,N,B
fzf,N,B fzf,N,B
gdb,N,B gdb,N,B
gimp,N,B gimp,N,B
git,Y,B git,S,B
gnome-keyring,N,B gnome-keyring,N,B
gnu-netcat,N,B gnu-netcat,N,B
grub,Y,B grub,Y,B
@ -42,7 +42,7 @@ keepass-plugin-keeagent,N,B
keychain,N,B keychain,N,B
libimobiledevice,N,B libimobiledevice,N,B
libreoffice-still,N,B libreoffice-still,N,B
linux-headers,Y,B linux-headers,S,B
lxappearance,N,B lxappearance,N,B
man-pages,N,B man-pages,N,B
mpv,N,B mpv,N,B
@ -67,9 +67,9 @@ pcmanfm,N,B
pdfslicer,N,B pdfslicer,N,B
perl-image-exiftool,N,B perl-image-exiftool,N,B
piper,N,B piper,N,B
pipewire,Y,B pipewire,S,B
pipewire-alsa,Y,B pipewire-alsa,S,B
pipewire-pulse,Y,B pipewire-pulse,S,B
psensor,N,B psensor,N,B
pulsemixer,N,B pulsemixer,N,B
python-pip,N,B python-pip,N,B
@ -105,8 +105,8 @@ virtualbox,N,B
wget,N,B wget,N,B
xclip,N,B xclip,N,B
xcompmgr,N,B xcompmgr,N,B
xdg-user-dirs,Y,B xdg-user-dirs,S,B
xdg-utils,Y,B xdg-utils,S,B
xdotool,N,B xdotool,N,B
xorg,N,B xorg,N,B
xorg-xinit,N,B xorg-xinit,N,B
@ -115,7 +115,6 @@ youtube-dl,N,B
zathura,N,B zathura,N,B
zathura-pdf-mupdf,N,B zathura-pdf-mupdf,N,B
zsh,Y,B zsh,Y,B
zsh-theme-powerlevel10k,N,B
ani-cli-git,N,C ani-cli-git,N,C
bashmount,N,C bashmount,N,C
brave-bin,N,C brave-bin,N,C
@ -128,7 +127,6 @@ jetbrains-toolbox,N,C
mutt-wizard-git,N,C mutt-wizard-git,N,C
noisetorch,N,C noisetorch,N,C
nvimpager-git,N,C nvimpager-git,N,C
oh-my-zsh-git,N,C
orchis-theme-bin,N,C orchis-theme-bin,N,C
pam-gnupg,N,C pam-gnupg,N,C
pandoc-bin,N,C pandoc-bin,N,C
@ -138,7 +136,9 @@ rtl8821cu-dkms-git,N,C
shellcheck-bin,N,C shellcheck-bin,N,C
spotify,N,C spotify,N,C
tela-icon-theme-bin,N,C tela-icon-theme-bin,N,C
ttf-meslo-nerd-font-powerlevel10k,N,C
v4l2loopback-dc-dkms,N,C v4l2loopback-dc-dkms,N,C
visual-studio-code-bin,N,C visual-studio-code-bin,N,C
zaread-git,N,C zaread-git,N,C
oh-my-zsh-git,N,C
ttf-meslo-nerd-font-powerlevel10k,N,C
zsh-theme-powerlevel10k,N,B

1 NAME IMPORTANT INSTALLER
2 base Y A
3 base-devel Y S A B
4 linux Y A
5 linux-firmware Y A
6 libxft-bgra N C
7 alacritty N B
8 alsa-utils Y S B
9 bc N B
10 binwalk N B
11 bitwarden N B
26 fzf N B
27 gdb N B
28 gimp N B
29 git Y S B
30 gnome-keyring N B
31 gnu-netcat N B
32 grub Y B
42 keychain N B
43 libimobiledevice N B
44 libreoffice-still N B
45 linux-headers Y S B
46 lxappearance N B
47 man-pages N B
48 mpv N B
67 pdfslicer N B
68 perl-image-exiftool N B
69 piper N B
70 pipewire Y S B
71 pipewire-alsa Y S B
72 pipewire-pulse Y S B
73 psensor N B
74 pulsemixer N B
75 python-pip N B
105 wget N B
106 xclip N B
107 xcompmgr N B
108 xdg-user-dirs Y S B
109 xdg-utils Y S B
110 xdotool N B
111 xorg N B
112 xorg-xinit N B
115 zathura N B
116 zathura-pdf-mupdf N B
117 zsh Y B
zsh-theme-powerlevel10k N B
118 ani-cli-git N C
119 bashmount N C
120 brave-bin N C
127 mutt-wizard-git N C
128 noisetorch N C
129 nvimpager-git N C
oh-my-zsh-git N C
130 orchis-theme-bin N C
131 pam-gnupg N C
132 pandoc-bin N C
136 shellcheck-bin N C
137 spotify N C
138 tela-icon-theme-bin N C
ttf-meslo-nerd-font-powerlevel10k N C
139 v4l2loopback-dc-dkms N C
140 visual-studio-code-bin N C
141 zaread-git N C
142 oh-my-zsh-git N C
143 ttf-meslo-nerd-font-powerlevel10k N C
144 zsh-theme-powerlevel10k N B