1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/bin/sh # case $2 in DEINSTALL) # Remove real files which was copied from *.default. for i in lib templates; do for j in `find ${PKG_PREFIX}/ispman/${i} -name '*.default'`; do real=${j%.default} cmp -s $j $real && rm -rf $real done done ;; esac exit 0