aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraham Christensen <graham@grahamc.com>2017-07-14 06:28:24 -0400
committerGraham Christensen <graham@grahamc.com>2017-07-14 12:11:33 -0400
commite0d39c8dc47af203ef0647c277e0e26f3b9176d4 (patch)
treeca02e7f35a6348de3b767e1d556c56d11ed106a7
parent12f6bb33d2cf56e8adf482950734a9af5f78a496 (diff)
Rename PINCH_ME_IM_SILLY to ALLOW_PREEXISTING_INSTALLATION
-rw-r--r--scripts/install-darwin-multi-user.sh6
-rwxr-xr-xtests/install-darwin.sh2
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/install-darwin-multi-user.sh b/scripts/install-darwin-multi-user.sh
index cde40a7f2..a2e120bf8 100644
--- a/scripts/install-darwin-multi-user.sh
+++ b/scripts/install-darwin-multi-user.sh
@@ -417,8 +417,8 @@ setup_report() {
row " Build Users" "$NIX_USER_COUNT"
row " Build Group ID" "$NIX_BUILD_GROUP_ID"
row "Build Group Name" "$NIX_BUILD_GROUP_NAME"
- if [ "${PINCH_ME_IM_SILLY:-}" != "" ]; then
- row " Silliness" "Very Silly"
+ if [ "${ALLOW_PREEXISTING_INSTALLATION:-}" != "" ]; then
+ row "Preexisting Install" "Allowed"
fi
subheader "build users:"
@@ -777,7 +777,7 @@ main() {
welcome_to_nix
chat_about_sudo
- if [ "${PINCH_ME_IM_SILLY:-}" = "" ]; then
+ if [ "${ALLOW_PREEXISTING_INSTALLATION:-}" = "" ]; then
validate_starting_assumptions
fi
diff --git a/tests/install-darwin.sh b/tests/install-darwin.sh
index eb251fa39..c99ce84ac 100755
--- a/tests/install-darwin.sh
+++ b/tests/install-darwin.sh
@@ -88,7 +88,7 @@ verify
sudo mkdir -p /nix/store
sudo touch /nix/store/.silly-hint
- echo -n "" | PINCH_ME_IM_SILLY=true ./install
+ echo -n "" | ALLOW_PREEXISTING_INSTALLATION=true ./install
verify
test -e /nix/store/.silly-hint