summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-11-26 09:59:45 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-11-26 09:59:45 +0300
commit622069e60f9573c714f482dd6c76858229f4732a (patch)
tree413fd12f18c3ac70011a7d46a1ea7d160983cbfc
parentfb89173a4257e0cfe3bfc772bc0cdbccd61e3be0 (diff)
Squashed 'gitstatus/' changes from 1dcba393..4211e33b
4211e33b bug fix: make install work in standalone mode git-subtree-dir: gitstatus git-subtree-split: 4211e33b0b9ed9ad41898eb5a2b4f6a4a37b1db2
-rwxr-xr-xinstall2
1 files changed, 1 insertions, 1 deletions
diff --git a/install b/install
index 0c103b8a..3b92daef 100755
--- a/install
+++ b/install
@@ -15,7 +15,7 @@ _gitstatus_install_daemon_found() {
esac
local cpu
- if [ "$uname_sm" != 'darwin arm64' ] ||
+ if [ "$uname_s" != darwin ] || [ "$uname_m" != arm64 ] ||
[ -e /Library/Apple/System/Library/LaunchDaemons/com.apple.oahd.plist ] ||
[ ! -x /usr/sbin/softwareupdate ] ||
! cpu="$(/usr/sbin/sysctl -n machdep.cpu.brand_string)"; then