diff --git a/le-proinfodata/proinfodata-installer.sh b/le-proinfodata/proinfodata-installer.sh index 7b1c9a0ed78b61f5687abfc4d88679d16152d7fb..bb32c231acb5ab15177b636191ede960a69aed9d 100755 --- a/le-proinfodata/proinfodata-installer.sh +++ b/le-proinfodata/proinfodata-installer.sh @@ -34,9 +34,9 @@ check_file_integrity(){ # ------------------------------------------------------------------------------ PREFIX="$(dirname $(readlink -f $0))" -BPURL="http://git.c3sl.ufpr.br/pub/scm/proinfodata/buildpackage.git" -BPDIR="${PREFIX}/buildpackage" -AUXDIR="${PREFIX}/git" +BPURL="http://git.c3sl.ufpr.br/pub/scm/proinfodata/stable.git" +BPDIR="${PREFIX}/stable/buildpackage" +AUXDIR="${PREFIX}/stable/git" PIDDEST="${PREFIX}/pacote/tmp" PIDINSTALLER="${PIDDEST}/agent.run" FAKEINEP="99999999" @@ -53,8 +53,8 @@ if test -f "${PIDINSTALLER}"; then exit 0 fi -# Check if the buildpackage repository directory already exists, cloning it -# otherwise +# Check if the stable/buildpackage repository directory already exists, cloning +# it otherwise if ! test -d "${BPDIR}"; then if ! git clone "${BPURL}" "${BPDIR}"; then printf "ERROR (1): problems while executing git clone(1).\n" @@ -62,10 +62,10 @@ if ! test -d "${BPDIR}"; then fi fi -# Change to buildpackage directory +# Change to stable/buildpackage directory cd "${BPDIR}" -# Ensure the buildpackage repository is updated +# Ensure the stable/buildpackage repository is updated if ! git pull; then printf "ERROR (2): problems while executing git pull(1).\n" exit 2