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

📄 installscripts.sh

📁 samba最新软件
💻 SH
字号:
#!/bin/sh# this script courtesy of James_K._Foote.PARC@xerox.com# 5 July 96 Dan.Shearer@UniSA.Edu.Au  Don't hardcode script names, get from MakeINSTALLPERMS=$1BINDIR=$2shiftshiftecho Installing scripts in $BINDIRfor d in $BINDIR; do if [ ! -d $d ]; then  mkdir $d  if [ ! -d $d ]; then    echo Failed to make directory $d    echo Have you run installbin first?    exit 1  fi fidonefor p in $*; do  p2=`basename $p`  echo Installing $BINDIR/$p2  if [ -f $BINDIR/$p2 ]; then    rm -f $BINDIR/$p2.old    mv $BINDIR/$p2 $BINDIR/$p2.old  fi  cp $p $BINDIR/  chmod $INSTALLPERMS $BINDIR/$p2  if [ ! -f $BINDIR/$p2 ]; then    echo Cannot copy $p2... does $USER have privileges?  fidonecat << EOF======================================================================The scripts have been installed. You may uninstall them usingthe command "make uninstallscripts" or "make install" to install binaries,man pages and shell scripts. You may recover the previous version (if anyby "make revert".======================================================================EOFexit 0

⌨️ 快捷键说明

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