projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
back into development
[feisty_meow.git]
/
scripts
/
site_avenger
/
standup.sh
diff --git
a/scripts/site_avenger/standup.sh
b/scripts/site_avenger/standup.sh
index 47e1aeecf8f5ae989b3339189a044a32e95dea2e..3f5a08602160aff9900185264644dbef78c3d7cd 100644
(file)
--- a/
scripts/site_avenger/standup.sh
+++ b/
scripts/site_avenger/standup.sh
@@
-47,7
+47,7
@@
elif [ -z "$app_dirname" ]; then
print_instructions
fi
print_instructions
fi
-if
(( $EUID != 0 ))
; then
+if
[[ $EUID != 0 ]]
; then
echo "This script must be run as root or sudo."
exit 1
fi
echo "This script must be run as root or sudo."
exit 1
fi
@@
-66,6
+66,8
@@
else
test_app_folder "$APPLICATION_DIR" "$app_dirname"
fi
test_app_folder "$APPLICATION_DIR" "$app_dirname"
fi
+echo "!! domain being added is: $DOMAIN_NAME"
+
add_domain "$DOMAIN_NAME"
test_or_die "Setting up domain: $DOMAIN_NAME"
add_domain "$DOMAIN_NAME"
test_or_die "Setting up domain: $DOMAIN_NAME"
@@
-76,7
+78,10
@@
test_or_die "Setting up apache site for: $APPLICATION_NAME"
sep
sep
-powerup "$APPLICATION_NAME" "$REPO_NAME" "$THEME_NAME"
+echo about to do powerup with: app="$APPLICATION_NAME" repo="$REPO_NAME" theme="$THEME_NAME"
+echo default repo is "$DEFAULT_REPOSITORY_ROOT"
+
+powerup "$APPLICATION_NAME" "$REPO_NAME" "$THEME_NAME" "$USER"
sep
sep