From 489c9a382c9db0a53c1445f3c81e14fb884d905a Mon Sep 17 00:00:00 2001 From: suiljex Date: Sun, 19 Dec 2021 17:07:00 +0700 Subject: [PATCH 1/4] Fix ParallelDownloads Change sed regex to '^#ParallelDownloads.*$' so it can handle lines like #ParallelDownloads = 5 #ParallelDownloads = 8 #ParallelDownloads --- larbs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/larbs.sh b/larbs.sh index 26c405c..a798942 100644 --- a/larbs.sh +++ b/larbs.sh @@ -198,7 +198,7 @@ newperms "%wheel ALL=(ALL) NOPASSWD: ALL" # Make pacman colorful, concurrent downloads and Pacman eye-candy. grep -q "ILoveCandy" /etc/pacman.conf || sed -i "/#VerbosePkgLists/a ILoveCandy" /etc/pacman.conf -sed -i "s/^#ParallelDownloads = 8$/ParallelDownloads = 5/;s/^#Color$/Color/" /etc/pacman.conf +sed -i "s/^#ParallelDownloads.*$/ParallelDownloads = 5/;s/^#Color$/Color/" /etc/pacman.conf # Use all cores for compilation. sed -i "s/-j2/-j$(nproc)/;s/^#MAKEFLAGS/MAKEFLAGS/" /etc/makepkg.conf From 55a36d347ab10a1f25fab082b2cb514187c57ca6 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 3 Jan 2022 14:41:00 +0100 Subject: [PATCH 2/4] Use -G flag in useradd. --- larbs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/larbs.sh b/larbs.sh index e6445a7..f1536b6 100644 --- a/larbs.sh +++ b/larbs.sh @@ -57,7 +57,7 @@ preinstallmsg() { \ adduserandpass() { \ # Adds user `$name` with password $pass1. dialog --infobox "Adding user \"$name\"..." 4 50 - useradd -m -g wheel -s /bin/zsh "$name" >/dev/null 2>&1 || + useradd -m -G wheel -s /bin/zsh "$name" >/dev/null 2>&1 || usermod -a -G wheel "$name" && mkdir -p /home/"$name" && chown "$name":wheel /home/"$name" export repodir="/home/$name/.local/src"; mkdir -p "$repodir"; chown -R "$name":wheel "$(dirname "$repodir")" echo "$name:$pass1" | chpasswd From 15b403a622e5b4987340b916727d36d488fafb3a Mon Sep 17 00:00:00 2001 From: Fritz Mayr <70516376+mayrf@users.noreply.github.com> Date: Sun, 3 Apr 2022 01:02:41 +0200 Subject: [PATCH 3/4] ueberzug --- progs.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/progs.csv b/progs.csv index 9157c29..8247608 100644 --- a/progs.csv +++ b/progs.csv @@ -4,6 +4,7 @@ ,xorg-xinit,"starts the graphical server." ,ttf-linux-libertine,"provides the sans and serif fonts for LARBS." A,lf-git,"is an extensive terminal file manager that everyone likes." +,ueberzug,"enables previews in the lf file manager." ,bc,"is used for a dropdown calculator." ,xcompmgr,"is for transparency and removing screen-tearing." ,xorg-xprop,"is a tool for detecting window properties." From 80c101f21d9f4a814c20b505a92ee67740c1926d Mon Sep 17 00:00:00 2001 From: i-c-u-p <96894903+i-c-u-p@users.noreply.github.com> Date: Wed, 6 Apr 2022 02:50:30 +0000 Subject: [PATCH 4/4] Made larbs.sh executable Changed permissions of larbs.sh from 644 to 755 to be able to run it via with out first executing . --- larbs.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 larbs.sh diff --git a/larbs.sh b/larbs.sh old mode 100644 new mode 100755