Add semi-important packages and update packages.csv
This commit is contained in:
parent
c4272301fa
commit
2893f66655
30
install.sh
30
install.sh
|
@ -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
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
24
packages.csv
24
packages.csv
|
@ -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
|
||||||
|
|
|
Loading…
Reference in New Issue