@@ -13,25 +13,27 @@ The code below is from an installer project that can be refered to at this link:
1313#
1414# ###############################################################################
1515#
16- # [ Development variables ]
16+ # [ Development Variables ]
1717#
1818# The variables below are for dev/testing purpouses (DO NOT MODIFY).
1919#
20- # ###############################################################################
21- #
20+ # ##
2221 export linuxAIO_revision=" 5" # Keeps track of changes to linuxAIO.sh
2322 export installer_repo=" StrangeRanger/NadekoBot-BashScript" # Determines which repo is used
24-
23+ # ##
2524#
25+ # End of [ Development Variables ]
26+ # ###############################################################################
27+
28+
2629# ###############################################################################
2730#
28- # [ Configuration varaibles ]
31+ # [ Configuration Varaibles ]
2932#
3033# The variables below are used to configure the installer in one way or another,
3134# and CAN BE modified by the end user.
3235#
33- # ###############################################################################
34- #
36+ # ##
3537 # Determines from which branch from the installer repo will be used
3638 # release/latest = The most recent release
3739 # master = The latest stable code
@@ -46,14 +48,17 @@ The code below is from an installer project that can be refered to at this link:
4648 #
4749 # Default: false
4850 allow_run_as_root=false
49-
51+ # ##
5052#
53+ # End of [ Configuration Varaibles ]
54+ # ###############################################################################
55+
56+
5157# ###############################################################################
5258#
5359# [ Main ]
5460#
55- # ###############################################################################
56- #
61+ # ##
5762 # Checks if the script was executed with root privilege
5863 if (( EUID == 0 )) && [[ $allow_run_as_root = false ]]; then
5964 echo " \033[1;31mPlease run this script without root privilege" >&2
@@ -72,4 +77,8 @@ The code below is from an installer project that can be refered to at this link:
7277 exit 1
7378 }
7479 sudo chmod +x installer_prep.sh && ./installer_prep.sh
80+ # ##
81+ #
82+ # End of [ Main ]
83+ # ###############################################################################
7584```
0 commit comments