updated install script
This commit is contained in:
@@ -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,6 +1,6 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
if [[ $GID != 0 ]]; then
|
||||
if [[ $UID != 0 ]]; then
|
||||
echo "need to be root"
|
||||
exit 0;
|
||||
fi
|
||||
|
||||
@@ -8,7 +8,6 @@ paru -Sy --noconfirm \
|
||||
gcr \
|
||||
pcsclite \
|
||||
ccid \
|
||||
opengpg-crd-tools \
|
||||
gnupg
|
||||
|
||||
# Setup GPG configuration with multiple keyservers for better reliability
|
||||
|
||||
@@ -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[@]}"
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user