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

📄 patch_postinstall

📁 Solaris系统的tip(1)工具实现上存在漏洞
💻
字号:
# This script deletes the used backout data for a patch package# and removes the deletes file entries.## directory format options.##       @(#)patch_postinstall 1.3 98/07/29 SMI## Copyright (c) 1995 by Sun Microsystems, Inc.# All rights reserved#PATH=/usr/sadm/bin:$PATHTHIS_DIR=`dirname $0`Our_Deletes=$THIS_DIR/deletes## Delete the used backout data#if [ -f $Our_Deletes ]; then	cat $Our_Deletes | while read path; do		if valpath -l $path; then			Client_Path=`echo "$CLIENT_BASEDIR/$path" | sed "s|//|/|"`		else	# It's an absolute path			Client_Path=$path		fi		rm `removef $PKGINST $Client_Path`	done	removef -f $PKGINST	rm $Our_Deletesfi## Remove the deletes file, checkinstall and the postinstall#rm -r $PKGSAV/$ACTIVE_PATCHrm -f $THIS_DIR/checkinstall $THIS_DIR/postinstallexit 0

⌨️ 快捷键说明

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