diff --git a/le-proinfodata-installer/le-proinfodata-deb.sh b/le-proinfodata-installer/le-proinfodata-deb.sh index 26e7f1c3eab9d9be814bdfff0272a06a7e39f1d7..d97f3600477554c59e47ebc341f7ea4116947222 100755 --- a/le-proinfodata-installer/le-proinfodata-deb.sh +++ b/le-proinfodata-installer/le-proinfodata-deb.sh @@ -22,8 +22,7 @@ # USA. PREFIX="$(dirname $(readlink -f $0))" -LEPIDURL="http://git.c3sl.ufpr.br/pub/scm/le/le-proinfodata.git" -LEPIDDIR="${PREFIX}/le-proinfodata" +LEPIDDIR="${PREFIX}/../le-proinfodata" LEPIDDEST="${PREFIX}/pacote/etc/le-proinfodata-installer" # Check if the le-proinfodata debian package already exists @@ -33,24 +32,9 @@ if test -f "${LEPIDDEST}/"le-proinfodata_*.deb; then exit 0 fi -# Check if the le-proinfodata repository directory already exists, cloning it -# otherwise -if ! test -d "${LEPIDDIR}"; then - if ! git clone "${LEPIDURL}" "${LEPIDDIR}"; then - printf "ERROR (1): problems while executing git clone(1).\n" - exit 1 - fi -fi - # Change to le-proinfodata directory cd "${LEPIDDIR}" -# Ensure the le-proinfodata repository is updated -if ! git pull; then - printf "ERROR (2): problems while executing git pull(1).\n" - exit 2 -fi - # Generate the debian package if ! ./gerar.sh; then printf "ERROR (3): problems while generating le-proinfodata deb.\n"