1
0
Fork 0

Fix error; reorder code

This commit is contained in:
Braiden Vasco 2017-07-03 01:04:47 +00:00
parent 616009006a
commit 2e62f7a1f0
1 changed files with 5 additions and 5 deletions

View File

@ -1,10 +1,5 @@
#!/bin/bash -e
source "$FUNCTIONS_DIR/logging.sh"
source "$FUNCTIONS_DIR/dependencies_check.sh"
source "$SCRIPT_DIR/common.sh"
export IMG_NAME='BarnacleOS'
export HOSTNAME='barnacleos'
export USERNAME='user'
@ -32,6 +27,11 @@ export QUILT_NO_DIFF_INDEX=1
export QUILT_NO_DIFF_TIMESTAMPS=1
export QUILT_REFRESH_ARGS='-p ab'
source "$FUNCTIONS_DIR/logging.sh"
source "$FUNCTIONS_DIR/dependencies_check.sh"
source "$SCRIPT_DIR/common.sh"
main() {
if [ "$(id -u)" != '0' ]; then
echo 'Please run as root' 1>&2