From cf22a0a3cbe3f2633dd61eb229791e717ce810c0 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 20 Mar 2024 20:52:12 -0300 Subject: panacea: fix up imports, add python 3 --- device/panacea_nebula_pre | 2 +- device/panacea_portedly_pre | 2 +- device/panacea_pre | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) (limited to 'device') diff --git a/device/panacea_nebula_pre b/device/panacea_nebula_pre index 17803d1..79aeed9 100644 --- a/device/panacea_nebula_pre +++ b/device/panacea_nebula_pre @@ -12,4 +12,4 @@ # ~nebula, which is kept logged into basically everything we # use online (including Apple ID). -source "$(realpath "$0" | xargs dirname)/panacea_pre" +source "$(realpath "$0" | xargs -0 dirname)/panacea_pre" diff --git a/device/panacea_portedly_pre b/device/panacea_portedly_pre index dcbccf5..c77a684 100755 --- a/device/panacea_portedly_pre +++ b/device/panacea_portedly_pre @@ -12,7 +12,7 @@ # which is kept separate from our personal one (~nebula) and # is not logged into Apple ID, etc. -source "$(realpath "$0" | xargs dirname)/panacea_pre" +source "$(realpath "$0" | xargs -0 dirname)/panacea_pre" export DEVICE_HAS_HOMEBREW export DEVICE_HOMEBREW_INSTALLATION="$HOME/brew" diff --git a/device/panacea_pre b/device/panacea_pre index 45bd702..9c3b8e1 100644 --- a/device/panacea_pre +++ b/device/panacea_pre @@ -18,5 +18,8 @@ export DEVICE_HOMEBREW_INSTALLATION="/opt/homebrew" export DEVICE_HAS_NVM export DEVICE_NVM_INSTALLATION="$HOME/.nvm" +export DEVICE_HAS_PYTHON_3 +export DEVICE_PYTHON_3_INSTALLATION="$HOME/Library/Python/3.9" + export DEVICE_HAS_SUBLIME_TEXT export DEVICE_SUBLIME_TEXT_INSTALLATION="/Applications/Sublime Text.app" -- cgit 1.3.0-6-gf8a5