Some SlackBuild scripts for Slackware.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
slackbuilds/n/omero/doinst.sh

13 lines
312 B

#!/bin/sh
if ! grep ^omero /etc/group > /dev/null ; then
/usr/sbin/groupadd -g 270 omero
fi
if ! grep ^omero /etc/passwd > /dev/null ; then
/usr/sbin/useradd -u 270 -c Omero -d /var/lib/omero -g omero omero
mkdir -p /var/lib/omero
chown omero:omero /var/lib/omero
fi
chown -R omero /opt/omero