summaryrefslogtreecommitdiff
path: root/parabolaweb-update
diff options
context:
space:
mode:
Diffstat (limited to 'parabolaweb-update')
-rwxr-xr-xparabolaweb-update11
1 files changed, 8 insertions, 3 deletions
diff --git a/parabolaweb-update b/parabolaweb-update
index 498f11a..b868c91 100755
--- a/parabolaweb-update
+++ b/parabolaweb-update
@@ -22,8 +22,10 @@ clean() {
cd "$WEBDIR"
msg "Purging old .pyc files..."
find . -name '*.pyc' -delete
- msg "Purging old GNU Make generated files..."
- make clean
+ if $RUNMAKE; then
+ msg "Purging old GNU Make generated files..."
+ make clean
+ fi
}
configure() {
@@ -62,7 +64,10 @@ update-database() {
update-filesystem() {
cd "$WEBDIR"
msg "Updating filesystem..."
- make
+ if $RUNMAKE; then
+ msg2 "Re-creating GNU Make generated files..."
+ make
+ fi
msg2 "Collecting static files..."
echo yes | ./manage.py collectstatic -l
}