1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-22 12:20:07 +00:00

Squashed 'gitstatus/' changes from 1dcba393..4211e33b

4211e33b bug fix: make install work in standalone mode

git-subtree-dir: gitstatus
git-subtree-split: 4211e33b0b9ed9ad41898eb5a2b4f6a4a37b1db2
This commit is contained in:
Roman Perepelitsa 2020-11-26 07:59:45 +01:00
parent fb89173a42
commit 622069e60f

View file

@ -15,7 +15,7 @@ _gitstatus_install_daemon_found() {
esac esac
local cpu local cpu
if [ "$uname_sm" != 'darwin arm64' ] || if [ "$uname_s" != darwin ] || [ "$uname_m" != arm64 ] ||
[ -e /Library/Apple/System/Library/LaunchDaemons/com.apple.oahd.plist ] || [ -e /Library/Apple/System/Library/LaunchDaemons/com.apple.oahd.plist ] ||
[ ! -x /usr/sbin/softwareupdate ] || [ ! -x /usr/sbin/softwareupdate ] ||
! cpu="$(/usr/sbin/sysctl -n machdep.cpu.brand_string)"; then ! cpu="$(/usr/sbin/sysctl -n machdep.cpu.brand_string)"; then