refactor(install): remove ripgrep and specific build dependencies

This commit is contained in:
Janik von Rotz committed 2026-09-22 14:47:33 +02:00
1 parent f6f95a738b
commit 15736d0181
2 files changed
+9 -9

No files matched your search

+3
View File
@@ -15,6 +15,9 @@ All notable changes to this project will be documented in this file. The format
- Updated `install-vuepress` to use `pnpm runtime set node lts -g` instead of `pnpm env use --global lts`.
- Removed `package-lock.json`.
- Added `pnpm-workspace.yaml`.
- Removed `ripgrep` from system dependencies installation across all supported operating systems.
- Removed `base-devel` package installation on Arch Linux/SteamOS.
- Removed `python-ldap` build dependencies installation on Arch Linux/SteamOS.
### Removed
+6 -9
View File
@@ -1110,8 +1110,8 @@ install() {
echo -e "\033[38;5;214mApt\033[0m: Install python-ldap and psycopg2 build dependencies"
sudo apt-get install -y libsasl2-dev libldap2-dev libssl-dev libpq-dev python3-dev
echo -e "\033[38;5;214mApt\033[0m: Install xmllint, ripgrep and gettext"
sudo apt install -y libxml2-utils ripgrep gettext
echo -e "\033[38;5;214mApt\033[0m: Install xmllint and gettext"
sudo apt install -y libxml2-utils gettext
elif [[ "$OS_RELEASE" =~ ^(Fedora Linux)$ ]]; then
@@ -1121,24 +1121,21 @@ install() {
echo -e "\033[38;5;214mDnf\033[0m: Install psycopg2 build dependencies"
sudo dnf install -y postgresql-devel
echo -e "\033[38;5;214mApt\033[0m: Install ripgrep and gettext"
sudo dnf install -y ripgrep gettext
echo -e "\033[38;5;214mApt\033[0m: Install gettext"
sudo dnf install -y gettext
elif [[ "$OS_RELEASE" =~ ^(Darwin)$ ]]; then
echo 'Welcome daring Mac user. Let'\''s try our best to get this working.'
echo -e "\033[38;5;214mBrew\033[0m: Install required packages with brew."
brew install gettext libsasl2 openldap openssl libxml2 grep ripgrep
brew install gettext libsasl2 openldap openssl libxml2 grep
elif [[ "$OS_RELEASE" =~ ^(Arch Linux|SteamOS)$ ]]; then
echo 'Arch is the best'
echo -e "\033[38;5;214mPacman\033[0m: Install python-ldap and psycopg2 build dependencies"
sudo pacman -S --noconfirm base-devel postgresql-devel
echo -e "\033[38;5;214mApt\033[0m: Install ripgrep"
sudo pacman -S --noconfirm ripgrep
sudo pacman -S --noconfirm base-devel postgresql-libs
else
echo "The operating system $OS_RELEASE is not supported."