1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/sh # case $2 in POST-INSTALL) # Install real files from *.default. for i in lib templates; do for j in `find ${PKG_PREFIX}/ispman/${i} -name '*.default'`; do real=${j%.default} [ -f $real ] || cp -p $j $real done done ;; esac