feat(user_commands.bash): add check for nvidia-inst
This commit is contained in:
@@ -5,6 +5,13 @@ username="$1"
|
|||||||
echo "Cloning the EOS Community Sway repo..."
|
echo "Cloning the EOS Community Sway repo..."
|
||||||
git clone https://github.com/EndeavourOS-Community-Editions/sway.git
|
git clone https://github.com/EndeavourOS-Community-Editions/sway.git
|
||||||
|
|
||||||
|
# Check if nvidia-inst is installed
|
||||||
|
if pacman -Qq nvidia-inst 2>/dev/null | grep -q .; then
|
||||||
|
# If it is, do the Nvidia stuff
|
||||||
|
# some Nvidia stuff
|
||||||
|
# some other Nvidia stuff
|
||||||
|
fi
|
||||||
|
|
||||||
# Install the custom package list
|
# Install the custom package list
|
||||||
echo "Installing needed packages..."
|
echo "Installing needed packages..."
|
||||||
pacman -S --noconfirm --noprogressbar --needed --disable-download-timeout $(< ./sway/packages-repository.txt)
|
pacman -S --noconfirm --noprogressbar --needed --disable-download-timeout $(< ./sway/packages-repository.txt)
|
||||||
|
|||||||
Reference in New Issue
Block a user