Switch to preparestatic (Closes: #593)
collectstatic failes on various test suite files which are not needed to install Mayan EDMS. Switch over to preparestatic, which contains a predefined ignore list.
This commit is contained in:
@@ -55,13 +55,13 @@ chown mayan:mayan /var/lib/mayan -R
|
||||
initialize() {
|
||||
echo "mayan: initialize()"
|
||||
su mayan -c "${MAYAN_BIN} initialsetup --force"
|
||||
su mayan -c "${MAYAN_BIN} collectstatic --noinput --clear"
|
||||
su mayan -c "${MAYAN_BIN} preparestatic --noinput --clear"
|
||||
}
|
||||
|
||||
upgrade() {
|
||||
echo "mayan: upgrade()"
|
||||
su mayan -c "${MAYAN_BIN} performupgrade"
|
||||
su mayan -c "${MAYAN_BIN} collectstatic --noinput --clear"
|
||||
su mayan -c "${MAYAN_BIN} preparestatic --noinput --clear"
|
||||
}
|
||||
|
||||
start() {
|
||||
|
||||
Reference in New Issue
Block a user