#!/bin/sh PATH=/bin:/usr/sbin if [ -z "${DB_DIR}" ]; then DB_DIR=/var/db/mysql fi case $2 in POST-INSTALL) USER=mysql GROUP=${USER} UID=88 GID=${UID} if pw group show "${GROUP}" 2>/dev/null; then echo "You already have a group \"${GROUP}\", so I will use it." else if pw groupadd ${GROUP} -g ${GID}; then echo "Added group \"${GROUP}\"." else echo "Adding group \"${GROUP}\" failed..." exit 1 fi fi if pw user show "${USER}" 2>/dev/null; then echo "You already have a user \"${USER}\", so I will use it." if pw usermod ${USER} -d ${DB_DIR} then echo "Changed home directory of \"${USER}\" to \"${DB_DIR}\"" else echo "Changing home directory of \"${USER}\" to \"${DB_DIR}\" failed..." exit 1 fi else if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \ -d ${DB_DIR} -s /sbin/nologin -c "MySQL Daemon" then echo "Added user \"${USER}\"." else echo "Adding user \"${USER}\" failed..." exit 1 fi fi chown -R ${USER}:${GROUP} ${DB_DIR} ;; esac cgit.png' alt='cgit logo'/> index : freebsd-ports-graphics
FreeBSD graphics obsolete development ports (https://github.com/freebsd/freebsd-ports-graphics)
aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
Commit message (Expand)AuthorAgeFilesLines
* - Update MASTER_SITESjhale2012-10-202-7/+3
* Mark as DEPRECATED since there are no more public distfiles available.rakuco2012-10-101-0/+3
* Clean up the headers of the ports I maintain.rakuco2012-10-071-5/+0
* Change headers of all ports maintained by me to new formatgarga2012-10-052-10/+2
* - Update to 1.010swills2012-10-032-6/+6
* Source Code Pro was designed by Paul D. Hunt as a companion to Source Sans.swills2012-09-266-0/+79
* Update to 0.0.10.1.kwm2012-09-252-3/+3
* - update to 1.036bapt2012-09-252-8/+4
* - Reassign to the heap due to mail bouncestabthorpe2012-09-221-6/+2
* Deprecate a bunch a ports with no more public distfiles (thanks ehaupt's dist...bapt2012-09-213-0/+9
* Update to 0.0.10.kwm2012-09-202-13/+6
* - update to 1.034bapt2012-09-192-6/+6
* Unbreak by setting another MASTER_SITE.rakuco2012-09-171-3/+1
* - Update to version 20120503pawel2012-09-072-14/+16
* Source Sans Pro: Adobe’s first open source type familybapt2012-08-206-0/+92
* - Reassign nork@ ports to the heaptabthorpe2012-08-161-1/+1
* Fix typos and make small modifications in COMMENT (according to Porter'scs2012-08-031-1/+1
* Fix typos in COMMENTcs2012-07-291-1/+1
* - Convert my ports to new options frameworkmakc2012-07-271-4/+6
* Fix typos in COMMENTcs2012-07-24