Browse Source

n/omero: Updated.

slackware-14.2
Damien Goutte-Gattat 7 years ago
parent
commit
5a2f142740
3 changed files with 10 additions and 7 deletions
  1. +6
    -0
      n/omero/README
  2. +1
    -1
      n/omero/omero.SlackBuild
  3. +3
    -6
      n/omero/rc.omero

+ 6
- 0
n/omero/README View File

@ -221,3 +221,9 @@
- start the upgraded server:
# /etc/rc.d/rc.omero start
WARNING: The last version of this SlackBuild (5.0.2-2GGD) now uses the
Ice-3.5 build of OMERO. When upgrading from a previous package that
provided the Ice-3.4 build, you need to 1) upgrade d/ice as well up to
at least ice-3.5.1, and 2) after upgrading OMERO and before restarting
the server, delete the /opt/omero/var/registry directory.

+ 1
- 1
n/omero/omero.SlackBuild View File

@ -35,7 +35,7 @@ WGET=${WGET:-http://downloads.openmicroscopy.org/omero/$VERSION/artifacts/$ARCHI
# Build infos
NAMEPKG=${NAMEPKG:-omero}
BUILD=${BUILD:-1GGD}
BUILD=${BUILD:-2GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}


+ 3
- 6
n/omero/rc.omero View File

@ -42,12 +42,9 @@ init)
echo Creating database...
createdb $PGOPTS -O $DB_USER $DB_NAME
createlang $PGOPTS plpgsql $DB_NAME
(
cd /opt/omero
sudo -H -u omero -i omero db script
psql -h $DB_HOST -p $DB_PORT -U $DB_USER $DB_NAME < OMERO5.0__0.sql
rm -rf OMERO5.0__0.sql
)
sudo -H -u omero -i omero db script
psql -h $DB_HOST -p $DB_PORT -U $DB_USER $DB_NAME < /var/lib/omero/OMERO5.0__0.sql
rm -rf /var/lib/omero/OMERO5.0__0.sql
fi
;;


Loading…
Cancel
Save