Skip to content

Commit

Permalink
Check if the nix package has been installed
Browse files Browse the repository at this point in the history
  • Loading branch information
JosuGZ committed Nov 7, 2024
1 parent 3e93abd commit fd7e4b7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ci-helpers/check-installation-nix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ set -o errexit
set -o nounset
set -o pipefail

# Check if the package was installed
if nix-env -q razer-laptop-control; then
echo "razer-laptop-control package installed"
else
echo "razer-laptop-control package not installed"
exit 1
fi

# Aparently the service is not enabled by default
# printf "Checking that the service is enabled: "
# systemctl --user is-enabled razercontrol.service
Expand Down

0 comments on commit fd7e4b7

Please sign in to comment.