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

📄 taruninstall.sh

📁 firebird源代码
💻 SH
字号:
#! /bin/sh# THis one is not finished by a long shot, but was some work on doing an# uninstall for a .tar.gz install# THe way this works is that the buildroot file is stored relative to the root# directory and a tar -xzf at root directory will restore all the files in # the position that we want them to beOrigDir=`pwd`cd /Dirs=""for i in `tar -tzf $OrigDir/buildroot.tar.gz`  do     if [ -f $i -o -L $i ]       then         rm -f $i     elif [ -d $i ]       then          Dirs="$i $Dirs"     fi  doneif [ ! -z $Dirs ]  then    for i in $Dirs      do        checkIfCanRemoveDir $i      doneficd $OrigDir

⌨️ 快捷键说明

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