#!/bin/sh -e board_vendor=$(cat /sys/class/dmi/id/board_vendor) if [[ $board_vendor != *LENOVO* ]]; then exit 0 fi if [[ ! -x "$(command -v paru)" ]]; then sudo pacman -S --noconfirm --needed paru || exit 1 fi paru -Sy --noconfirm --needed zcfan