Skip to content

Commit 2f7b6c6

Browse files
committed
Fix boostrapping
1 parent 66b9968 commit 2f7b6c6

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

archlinux/install/config/ssh.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
function setup(){
22
grep -qxF 'net.ipv4.tcp_mtu_probing=1' /etc/sysctl.d/99-sysctl.conf || echo 'net.ipv4.tcp_mtu_probing=1' | sudo tee -a /etc/sysctl.d/99-sysctl.conf
33

4-
// Enable Agent for the user
4+
# Enable Agent for the user
55
systemctl --user enable --now ssh-agent.service
66
}
77

archlinux/install/desktop/applications.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Install AppImage not available in the Arch repos
22

33
function setup(){
4-
mkdir -p "~/Applications"
4+
mkdir -p ~/Applications
55
# Create quickcalc rofi entry
66
# ~/.local/share/applications/quickcal.desktop
77
cat <<EOF > ~/.local/share/applications/quickcal.desktop

archlinux/setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
1111
)
1212

1313
# Download all packages using pacman for install/**/packages.txt
14-
find "$SCRIPT_DIR/install/" -name "packages.txt" -exec sh -c 'grep -v "^#" "$1" | sudo pacman -S --noconfirm --needed -' _ {} \;
14+
find "$SCRIPT_DIR/install/" -name "packages.txt" -exec sh -c 'grep -v "^#" "$1" | sudo pacman -Sw --noconfirm --needed -' _ {} \;
1515

1616
# Download all packages using yay for install/**/packages.aur.txt
17-
find "$SCRIPT_DIR/install/" -name "packages.aur.txt" -exec sh -c 'grep -v "^#" "$1" | yay -S --noconfirm --needed -' _ {} \;
17+
find "$SCRIPT_DIR/install/" -name "packages.aur.txt" -exec sh -c 'grep -v "^#" "$1" | yay -Sw --noconfirm --needed -' _ {} \;
1818

1919
# Force the script to be executed from its directory (since init.sh move us to /tmp during yay installation)
2020
cd "$SCRIPT_DIR" || exit

0 commit comments

Comments
 (0)