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

📄 afbackup-client.preinst

📁 一套客户/服务器模式的备份系统代码,跨平台,支持linux,AIX, IRIX, FreeBSD, Digital Unix (OSF1), Solaris and HP-UX.
💻 PREINST
字号:
#!/bin/sh -efix_cruft (){   cat <<.EOFIf you get asked to overwrite your old configuration, please do so! Youcan easily reconfigure your system with afserverconfig orxafserverconfig. The existing status information will not be touched..EOF}ask_abort (){   cat <<.EOFYou are upgrading from an incompatible version of afbackup-client. Youhave to upgrade all your machines to the current version of afbackup andafbackup-client or you should abort upgrading now.Do you want to abort? (y/N).EOF   read ANSWER   case "$ANSWER" in      y|Y)	 exit 1      ;;   esac}      case "$1" in    upgrade)	case "$2" in	    2.6*)	        fix_cruft		ask_abort	    ;;	    2*|3.1*|3.3.[1-6]*)	        ask_abort	    ;;        esac    	    ;;    install|abort-upgrade)    ;;    *)        echo "preinst called with unknown argument \`$1'" >&2        exit 0    ;;esac#DEBHELPER#

⌨️ 快捷键说明

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