Skip to content
Snippets Groups Projects
Commit 1b259538 authored by Bruno Nocera Zanette's avatar Bruno Nocera Zanette
Browse files

Remove unnecessary scripts

Remove unnecessary scripts
parent 9230748e
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
mvn -Pxpdf-mediafilter-support package -P \
"!dspace-lni,
!dspace-oai,
!dspace-sword,
!dspace-swordv2,
!dspace-rest,
!dspace-xmlui"
if [[ $? == 1 ]]; then
echo "Aconteceu algum erro durante a compilacao!"
exit 1
fi
(cd dspace/target/dspace-4.1-build && ant update)
if [[ $? == 1 ]]; then
echo "Aconteceu algum erro durante a instalacao"
exit 1
fi
echo "PRONTO"
exit 0
#!/bin/bash
mvn -Pxpdf-mediafilter-support package -P \
"!dspace-lni,
!dspace-oai,
!dspace-sword,
!dspace-swordv2,
!dspace-rest,
!dspace-jspui"
if [[ $? == 1 ]]; then
echo "Aconteceu algum erro durante a compilacao!"
exit 1
fi
(cd dspace/target/dspace-4.1-build && ant update)
if [[ $? == 1 ]]; then
echo "Aconteceu algum erro durante a instalacao"
exit 1
fi
echo "PRONTO"
exit 0
while read L; do
TAG=$(echo $L | cut -d "=" -f1 | sed "s#\ ##g")
if [[ $(echo $TAG | grep -c "\.") == 1 ]]; then
PTBR=$(grep "^${TAG}\ " Messages_pt_BR.properties)
if [[ $(echo $PTBR | wc -m) > 1 ]]; then
echo $PTBR
else
echo $L
fi
else
echo $L
fi
done < Messages.properties
#!/bin/bash
chown -R dspace:tomcat7 /home/dspace/webapp/
chmod -R g+w /home/dspace/webapp/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment