芝麻web文件管理V1.00
编辑当前文件:/var/lib/dpkg/info/shared-mime-info.postrm
#!/bin/sh set -e if [ "$1" = purge ]; then MIMEDIR="/usr/share/mime" if [ -e $MIMEDIR ]; then cd $MIMEDIR && rm -rf $(ls |grep -v ^packages$) rmdir --ignore-fail-on-non-empty $MIMEDIR fi fi