Rename PINCH_ME_IM_SILLY to ALLOW_PREEXISTING_INSTALLATION

This commit is contained in:
Graham Christensen 2017-07-14 06:28:24 -04:00
parent 12f6bb33d2
commit e0d39c8dc4
No known key found for this signature in database
GPG key ID: 06121D366FE9435C
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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