preflight.sh
来自「这是linux下运行的mysql软件包,可用于linux 下安装 php + m」· Shell 代码 · 共 19 行
SH
19 行
#!/bin/sh## preflight - this script will be executed before the MySQL PKG# installation will be performed.## If this package has been compiled with a prefix ending with "mysql" (e.g.# /usr/local/mysql or /opt/mysql), it will rename any previously existing# directory with this name before installing the new package (which includes# a symlink named "mysql", pointing to the newly installed directory, which# is named mysql-<version>)#PREFIX="@prefix@"BASENAME=`basename $PREFIX`if [ -d $PREFIX -a ! -L $PREFIX -a $BASENAME = "mysql" ] ; then mv $PREFIX $PREFIX.bakfi
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?