uninstallscripts.sh

来自「samba最新软件」· Shell 代码 · 共 37 行

SH
37
字号
#!/bin/sh# 5 July 96 Dan.Shearer@UniSA.Edu.Au  - almost identical to uninstallbin.shINSTALLPERMS=$1BINDIR=$2shiftshiftif [ ! -d $BINDIR ]; then  echo Directory $BINDIR does not exist!  echo Do a "make installscripts" or "make install" first.  exit 1fifor p in $*; do  p2=`basename $p`  if [ -f $BINDIR/$p2 ]; then    echo Removing $BINDIR/$p2    rm -f $BINDIR/$p2    if [ -f $BINDIR/$p2 ]; then      echo Cannot remove $BINDIR/$p2 ... does $USER have privileges?    fi  fidonecat << EOF======================================================================The scripts have been uninstalled. You may reinstall them usingthe command "make installscripts" or "make install" to install binaries,man pages and shell scripts. You may recover a previous version (if anywith "make revert".======================================================================EOFexit 0

⌨️ 快捷键说明

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