Skip to content

Commit 1b4a353

Browse files
committed
add 'Main function'
1 parent fde322b commit 1b4a353

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
@@ -873,3 +873,18 @@ postinstall() {
873873
}
874874

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

0 commit comments

Comments
 (0)