projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated to use FEISTY_MEOW_SCAN_REPOS variable instead
[feisty_meow.git]
/
scripts
/
system
/
remove_apache_site.sh
diff --git
a/scripts/system/remove_apache_site.sh
b/scripts/system/remove_apache_site.sh
index ef6c8b6d79915b608f44707f9e6094bcca87a23c..9e21fa31e82911d9c3b26e4756c1098313c9713e 100644
(file)
--- a/
scripts/system/remove_apache_site.sh
+++ b/
scripts/system/remove_apache_site.sh
@@
-3,8
+3,8
@@
# uninstalls the apache website for a specified domain.
# auto-find the scripts, since we might want to run this as sudo.
# uninstalls the apache website for a specified domain.
# auto-find the scripts, since we might want to run this as sudo.
-export
WORK
DIR="$( \cd "$(\dirname "$0")" && /bin/pwd )" # obtain the script's working directory.
-export FEISTY_MEOW_APEX="$( \cd "$
WORK
DIR/../.." && \pwd )"
+export
THIS
DIR="$( \cd "$(\dirname "$0")" && /bin/pwd )" # obtain the script's working directory.
+export FEISTY_MEOW_APEX="$( \cd "$
THIS
DIR/../.." && \pwd )"
source "$FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh"
source "$FEISTY_MEOW_SCRIPTS/system/common_sysadmin.sh"
source "$FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh"
source "$FEISTY_MEOW_SCRIPTS/system/common_sysadmin.sh"
@@
-12,7
+12,8
@@
source "$FEISTY_MEOW_SCRIPTS/system/common_sysadmin.sh"
# some convenient defaults for our current usage.
if [ -z "$BASE_APPLICATION_PATH" ]; then
# some convenient defaults for our current usage.
if [ -z "$BASE_APPLICATION_PATH" ]; then
- BASE_APPLICATION_PATH="$HOME/apps"
+ BASE_APPLICATION_PATH="$FEISTY_MEOW_SCAN_REPOS"
+#hmmm: take just first item!
fi
if [ -z "$STORAGE_SUFFIX" ]; then
STORAGE_SUFFIX="/public"
fi
if [ -z "$STORAGE_SUFFIX" ]; then
STORAGE_SUFFIX="/public"