Compare commits

...

2 Commits

Author SHA1 Message Date
marcosfad 519b4c14f0
Merge pull request #41 from nelsontkq/patch-1
Double equals doesn't work between single brackets
2021-07-29 23:48:58 +02:00
Nelson Truran f73f7da85c
Double equals doesn't work between single brackets
the POSIX standard doesn't required `==` to work between single brackets. This change should fix the touchbar failing to reinitialize after suspend.
2021-07-28 10:34:30 -07:00
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
if [ "${1}" == "pre" ]; then
if [ "${1}" = "pre" ]; then
modprobe -r apple_ib_tb
elif [ "${1}" == "post" ]; then
elif [ "${1}" = "post" ]; then
modprobe apple_ib_tb
fi