From 727049b1d2eb716022ab3676c3e4e27c53f3759e Mon Sep 17 00:00:00 2001 From: Joshua Liberman <65671429+jlibermann@users.noreply.github.com> Date: Mon, 8 Jun 2020 23:37:58 -0400 Subject: [PATCH] Adds a line that exports environment variables to the bashrc (#975) * Adds a line that exports environment variables to the bashrc * cleans up line spacing * Update scripts/install/install-pocs.sh Thanks @jlibermann --- scripts/install/install-pocs.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install/install-pocs.sh b/scripts/install/install-pocs.sh index 33db0f000..5ad6a7755 100644 --- a/scripts/install/install-pocs.sh +++ b/scripts/install/install-pocs.sh @@ -152,6 +152,8 @@ export PANDIR=${PANDIR} export POCS=${PANDIR}/POCS export PANLOG=${PANDIR}/logs EOF + + [ ! -f /var/panoptes/env ] && echo '. /var/panoptes/env' >> ~/.bashrc } function system_deps {