⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hsqlhsqldb.preinstall

📁 hsql是很有名的嵌入式数据库
💻 PREINSTALL
字号:
# Bourne shell Solaris packaging script (no interpreter line on purpose)# $Id: HSQLhsqldb.preinstall,v 1.1 2002/10/12 01:15:46 unsaved Exp $# Do not set path.  Pkgadd sets a safe path, it does not use any inherited path# Not knowing what name service is in use for groups and passwords, I# know of no way on the command-line to portably get a list of uids and gids.# (would be easy enough in C).# We need this user and group in place before installing the software# (due to file ownerships)# If getent isn't installed, we will "attempt" to create the user and# group.  That won't hurt anything.getent group hsqldb > /dev/null || {    # Add group 'hsqldb'    groupadd hsqldb}getent passwd hsqldb > /dev/null || {    # Add user 'hsqldb'    # We just set temporary home dir and login shell, because at this    # point, the intended dir and shell don't exist yet.    useradd -s /bin/false -d /dev/null -c 'hsqldb owner' hsqldb}exit 0

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -