[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: debian/scripts cleanpkg,1.1,1.2
From: |
Luca - De Whiskey's - De Vitis <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: debian/scripts cleanpkg,1.1,1.2 |
Date: |
Mon, 10 Jun 2002 09:01:48 -0400 |
Update of /cvsroot/phpgroupware/debian/scripts
In directory subversions:/tmp/cvs-serv15597/debian/scripts
Modified Files:
cleanpkg
Log Message:
Minor changes to directory structure:
- Moved old sql files to a more suitable place.
- Moved chora/docs to chora/doc
Index: cleanpkg
===================================================================
RCS file: /cvsroot/phpgroupware/debian/scripts/cleanpkg,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** cleanpkg 9 Jun 2002 12:27:25 -0000 1.1
--- cleanpkg 10 Jun 2002 13:01:45 -0000 1.2
***************
*** 1,31 ****
! #!/bin/sh
# Rename sql dirs into module/doc/examples
! find -type d -name sql | while read dir ; do
! doc="$(dirname $dir)/doc" ;
! if [ ! -d $doc ]
! then mkdir -p $doc
! fi
! mv $dir "$doc/examples"
! done
# Move all sql files into module/doc/examples
! find -type f -name *\sql -not -path '*examples*' | while read file ; do
! dir=$(basename $(dirname $file))
! mod=$(echo $file | awk -F '/' '{ print $2 }')
! if [ "$dir" != "examples" ] ; then
! ex="${mod}/doc/examples"
! if [ ! -d $ex ]
! then mkdir -p $ex
! fi
! mv $file $ex
fi
done
# Remove all CVS files
! find -type d -name CVS -o -type f -name .cvsignore |
! while read cvs ; do
! rm -rf ${cvs}
! done
!
! find -path '*doc*' -type f -exec chmod 644 {} \;
--- 1,61 ----
! #!/bin/bash
+ wd=$(pwd)
# Rename sql dirs into module/doc/examples
! # find -type d -name sql | while read dir ; do
! # doc="$(dirname $dir)/doc" ;
! # if [ ! -d $doc ] ; then
! # mkdir -p $doc
! # cvs add $doc
! # fi
! # if [ ! -d "$doc/examples" ] ; then
! # mkdir "$doc/examples"
! # cvs add "$doc/examples"
! # fi
! # if [ ! -d "$doc/examples/sql" ] ; then
! # mkdir "$doc/examples/sql"
! # cvs add "$doc/examples/sql"
! # fi
! # find $dir -type f -not -path '*CVS*' | while read file ; do
! # mv $file "$doc/examples/sql/$file"
! # cvs rm $file
! # cvs add "$doc/examples/sql/$file"
! # done
! # cvs rm $dir
! # done
# Move all sql files into module/doc/examples
! find -type f -name '*.*sql' | while read file ; do
! doc="$(echo $file | awk -F '/' '{ print $2 }')/doc"
! if [ ! -d $doc ] ; then
! mkdir -p $doc
! cvs add $doc
! fi
! if [ ! -d "$doc/examples" ] ; then
! mkdir "$doc/examples"
! cvs add "$doc/examples"
fi
+ if [ ! -d "$doc/examples/sql" ] ; then
+ mkdir "$doc/examples/sql"
+ cvs add "$doc/examples/sql"
+ fi
+ new=$(basename $file)
+ mv $file "$doc/examples/sql/$new"
+ cvs rm $file
+ cvs add "$doc/examples/sql/$new"
+ done
+ find -type d -name sql | while read dir ; do
+ rm -rf $dir
+ cvs rm $dir
done
+ # if [ "$(basename $(dirname $file))" = "sql" ] ; then
+ # cvs rm $(dirname $file)
+ # fi
# Remove all CVS files
! # find -type d -name CVS -o -type f -name .cvsignore |
! # while read cvs ; do
! # rm -rf ${cvs}
! # done
! #
! # find -path '*doc*' -type f -exec chmod 644 {} \;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: debian/scripts cleanpkg,1.1,1.2,
Luca - De Whiskey's - De Vitis <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: eldaptir/doc/examples/sql eldaptir.mysql,NONE,1.1 eldaptir.pgsql,NONE,1.1 lang.sql,NONE,1.1
- Next by Date:
[Phpgroupware-cvs] CVS: inv/doc create_tables.mysql,1.29,NONE create_tables.pgsql,1.31,NONE drop_tables-0.8.1.mysql,1.2,NONE drop_tables-0.8.1.pgsql,1.3,NONE drop_tables-0.8.2.mysql,1.1,NONE drop_tables-0.8.2.pgsql,1.1,NONE drop_tables.mysql,1.7,NONE drop_tables.pgsql,1.8,NONE update_tables-0.8.1.mysql,1.1,NONE update_tables-0.8.1.pgsql,1.2,NONE update_tables-0.8.2.mysql,1.6,NONE update_tables-0.8.2.pgsql,1.6,NONE update_tables-0.8.3.mysql,1.20,NONE update_tables-0.8.3.pgsql,1.22,NONE
- Previous by thread:
[Phpgroupware-cvs] CVS: eldaptir/doc/examples/sql eldaptir.mysql,NONE,1.1 eldaptir.pgsql,NONE,1.1 lang.sql,NONE,1.1
- Next by thread:
[Phpgroupware-cvs] CVS: inv/doc create_tables.mysql,1.29,NONE create_tables.pgsql,1.31,NONE drop_tables-0.8.1.mysql,1.2,NONE drop_tables-0.8.1.pgsql,1.3,NONE drop_tables-0.8.2.mysql,1.1,NONE drop_tables-0.8.2.pgsql,1.1,NONE drop_tables.mysql,1.7,NONE drop_tables.pgsql,1.8,NONE update_tables-0.8.1.mysql,1.1,NONE update_tables-0.8.1.pgsql,1.2,NONE update_tables-0.8.2.mysql,1.6,NONE update_tables-0.8.2.pgsql,1.6,NONE update_tables-0.8.3.mysql,1.20,NONE update_tables-0.8.3.pgsql,1.22,NONE
- Index(es):