updated install script

This commit is contained in:
2026-06-16 03:54:27 +00:00
parent 248cf6f350
commit b12be3c162
9 changed files with 13 additions and 19 deletions
+1 -2
View File
@@ -46,6 +46,5 @@ paru -Sy --noconfirm \
cachyos-wallpapers \
cachyos-fish-config \
linux-cachyos \
linux-cachyos-headers \
linux-cachyos-sched-ext-headers
linux-cachyos-headers
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/sh -e
if [[ $GID != 0 ]]; then
if [[ $UID != 0 ]]; then
echo "need to be root"
exit 0;
fi
-1
View File
@@ -8,7 +8,6 @@ paru -Sy --noconfirm \
gcr \
pcsclite \
ccid \
opengpg-crd-tools \
gnupg
# Setup GPG configuration with multiple keyservers for better reliability
+1 -1
View File
@@ -4,7 +4,7 @@ if [[ ! -x "$(command -v paru)" ]]; then
sudo pacman -S --noconfirm --needed paru || exit 1
fi
mapfile -t packages < <(grep -v '^#' "$SJB_CONF_DIR/sjb-desktop.packages" | grep -v '^$')
mapfile -t packages < <(grep -v '^#' "$DOTFILES_DIR/packages/sjb-desktop.packages" | grep -v '^$')
paru -S --noconfirm --needed "${packages[@]}"
+2 -2
View File
@@ -6,8 +6,8 @@ if [[ ! -x "$(command -v paru)" ]]; then
sudo pacman -S --noconfirm --needed paru || exit 1
fi
mapfile -t packages < <(grep -v '^#' "$SJB_CONF_DIR/sjb-dev.packages" | grep -v '^$')
mapfile -t packages < <(grep -v '^#' "$DOTFILES_DIR/packages/sjb-dev.packages" | grep -v '^$')
paru -S --noconfirm --needed "${packages[@]}"
cat ${SJB_CONF_DIR}/rules/99-platformio-udev.rules | sudo tee /etc/udev/rules.d/99-platformio-udev.rules
cat ${CONFIG_DIR}/rules/99-platformio-udev.rules | sudo tee /etc/udev/rules.d/99-platformio-udev.rules
sudo systemctl restart systemd-udevd
-5
View File
@@ -1,10 +1,5 @@
#!/bin/sh -e
if [[ ! -x "$(command -v sjb-orgmode-installer)" ]]; then
echo "Error: sjb config script are not installed, run sjb-install.sh" >&2
exit 1
fi
if [[ -x "$(command -v systemctl)" ]]; then
systemctl --user enable --now syncthing
fi