fix: cat -> echo

commands are hard okay
This commit is contained in:
Strix 2023-10-30 01:04:08 +01:00
parent 35676b4891
commit 1da2f0100c
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774

View file

@ -1,6 +1,6 @@
#!/bin/bash
if ! cat "$PATH" | grep -q "sbin"; then
if ! echo "$PATH" | grep -q "sbin"; then
# sudo is quirky
PATH="$PATH:/sbin"
fi