From: Heiko Z. <smi...@us...> - 2006-12-28 17:49:48
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv14053/scripts Modified Files: patch-o-matic Log Message: - moved l7-filter protocols to /usr/share/l7-protocols Index: patch-o-matic =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/patch-o-matic,v retrieving revision 1.30 retrieving revision 1.31 diff -u -d -r1.30 -r1.31 --- patch-o-matic 4 May 2006 01:15:15 -0000 1.30 +++ patch-o-matic 28 Dec 2006 17:49:45 -0000 1.31 @@ -108,13 +108,14 @@ FILES=$(grep -rl $CFG * | grep patch.configure.help) copy_files "$FILES" $DOCDIR/netfilter-patch-o-matic || exit 1 done -#L7 - if [ "$CONFIG_NF_LAYER7" = "y" ]; then - tar -C $ETCDIR/etc -xzvf $SRCDIR/l7-protocols-*.tar.gz || exit 1 - mv $ETCDIR/etc/l7-protocols-* $ETCDIR/etc/l7-protocols || exit 1 - - fi fi + if [ "$CONFIG_NF_LAYER7" = "y" ]; then + rm -rf $CDDIR/usr/share/l7-protocols + tar -C $CDDIR/usr/share/ -xzvf $SRCDIR/l7-protocols-*.tar.gz || exit 1 + mv $CDDIR/usr/share/l7-protocols-* $CDDIR/usr/share/l7-protocols || exit 1 + ln -sf /usr/share/l7-protocols $ETCDIR/etc/l7-protocols || exit 1 + fi + ;; * ) echo "ERROR ($0)" |