Skip to content

Commit 1c11706

Browse files
committed
Merge branch 'master' of git://github.com/magnu5/fanshim-python into magnu5-master
2 parents 2384896 + b4a5085 commit 1c11706

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

examples/install-service.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ if ! [ -f "/usr/bin/python3" ]; then
1919
exit 1
2020
fi
2121

22+
if ! [ -f "/usr/bin/pip3" ]; then
23+
printf "Fan SHIM controller requires Python 3 pip\n"
24+
printf "You should run: 'sudo apt install python3-pip'\n"
25+
exit 1
26+
fi
27+
2228
while [[ $# -gt 0 ]]; do
2329
K="$1"
2430
case $K in

0 commit comments

Comments
 (0)