mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
Rename PINCH_ME_IM_SILLY to ALLOW_PREEXISTING_INSTALLATION
This commit is contained in:
parent
12f6bb33d2
commit
e0d39c8dc4
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue