forked from lix-project/lix
Rename PINCH_ME_IM_SILLY to ALLOW_PREEXISTING_INSTALLATION
This commit is contained in:
parent
12f6bb33d2
commit
e0d39c8dc4
|
@ -417,8 +417,8 @@ setup_report() {
|
||||||
row " Build Users" "$NIX_USER_COUNT"
|
row " Build Users" "$NIX_USER_COUNT"
|
||||||
row " Build Group ID" "$NIX_BUILD_GROUP_ID"
|
row " Build Group ID" "$NIX_BUILD_GROUP_ID"
|
||||||
row "Build Group Name" "$NIX_BUILD_GROUP_NAME"
|
row "Build Group Name" "$NIX_BUILD_GROUP_NAME"
|
||||||
if [ "${PINCH_ME_IM_SILLY:-}" != "" ]; then
|
if [ "${ALLOW_PREEXISTING_INSTALLATION:-}" != "" ]; then
|
||||||
row " Silliness" "Very Silly"
|
row "Preexisting Install" "Allowed"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
subheader "build users:"
|
subheader "build users:"
|
||||||
|
@ -777,7 +777,7 @@ main() {
|
||||||
welcome_to_nix
|
welcome_to_nix
|
||||||
chat_about_sudo
|
chat_about_sudo
|
||||||
|
|
||||||
if [ "${PINCH_ME_IM_SILLY:-}" = "" ]; then
|
if [ "${ALLOW_PREEXISTING_INSTALLATION:-}" = "" ]; then
|
||||||
validate_starting_assumptions
|
validate_starting_assumptions
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -88,7 +88,7 @@ verify
|
||||||
|
|
||||||
sudo mkdir -p /nix/store
|
sudo mkdir -p /nix/store
|
||||||
sudo touch /nix/store/.silly-hint
|
sudo touch /nix/store/.silly-hint
|
||||||
echo -n "" | PINCH_ME_IM_SILLY=true ./install
|
echo -n "" | ALLOW_PREEXISTING_INSTALLATION=true ./install
|
||||||
verify
|
verify
|
||||||
test -e /nix/store/.silly-hint
|
test -e /nix/store/.silly-hint
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue