Updated build script
This commit is contained in:
@@ -23,11 +23,13 @@ git clone ${REF:+--reference $REF} \
|
||||
https://code.google.com/p/duplicati/ $DIRNAME
|
||||
|
||||
if [ -e "./oem.js" ]; then
|
||||
cp ./oem.js $DIRNAME/Server/webroot/scripts/
|
||||
echo "Installing OEM script"
|
||||
cp ./oem.js $DIRNAME/Duplicati/Server/webroot/scripts/
|
||||
fi
|
||||
|
||||
if [ -e "./oem.css" ]; then
|
||||
cp ./oem.css $DIRNAME/Server/webroot/stylesheets/
|
||||
echo "Installing OEM stylesheet"
|
||||
cp ./oem.css $DIRNAME/Duplicati/Server/webroot/stylesheets/
|
||||
fi
|
||||
|
||||
GIT_DIR=$DIRNAME/.git git archive --format=tar --prefix=$DIRNAME/ ${1:-HEAD} \
|
||||
|
||||
Reference in New Issue
Block a user