Skip to content

Commit 87ef3a5

Browse files
committed
add 'Main function'
1 parent afce65f commit 87ef3a5

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

scripts/install-nix-from-closure.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -874,3 +874,18 @@ postinstall() {
874874
}
875875

876876
}
877+
878+
879+
###############################
880+
### Main function
881+
###############################
882+
main() {
883+
884+
checkingRequirements
885+
checkInstallerMode "$@"
886+
execInstallerMode
887+
installNix
888+
postinstall
889+
contactUs
890+
891+
}

0 commit comments

Comments
 (0)