phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: debian/scripts cleanpkg,1.2,1.3


From: Luca - De Whiskey's - De Vitis <address@hidden>
Subject: [Phpgroupware-cvs] CVS: debian/scripts cleanpkg,1.2,1.3
Date: Wed, 12 Jun 2002 05:23:01 -0400

Update of /cvsroot/phpgroupware/debian/scripts
In directory subversions:/tmp/cvs-serv6117/debian/scripts

Modified Files:
        cleanpkg 
Log Message:


- Renamed some copyright files.
- Moved doc files to module/doc dir.
- Removed no more useful debian files.
- Removed addbook/readme: duplicate file.


Index: cleanpkg
===================================================================
RCS file: /cvsroot/phpgroupware/debian/scripts/cleanpkg,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** cleanpkg    10 Jun 2002 13:01:45 -0000      1.2
--- cleanpkg    12 Jun 2002 09:22:28 -0000      1.3
***************
*** 1,8 ****
  #!/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
--- 1,7 ----
  #!/bin/bash
  
! # 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
***************
*** 17,61 ****
  #             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 {} \;
--- 16,71 ----
  #             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
  
! add=""
! remove=""
! 
! grep -l sql$ debian/*.examples | while read file ; do
!       rm $file
!       remove="$remove $file"
  done
! 
! for file in comic/doc/LICENSE eldaptir/doc/LICENSE mediadb/doc/LICENSE 
mediadb/doc/LICENSE weather/doc/LICENSE ; do
!       mv $file $(dirname $file)/copyright.gpl
!       remove="$remove $file" 
!       add="$add $(dirname $file)/copyright.gpl"
  done
! 
! mv rbs/COPYING rbs/doc/copyright.gpl
! remove="$remove rbs/COPYING"
! add="$add rbs/doc/copyright.gpl"
! 
! for dir in addbook backup cart cron headlines manual meerkat netsaint nntp 
notes phpGWShell_Win32_VB phpsysinfo qmailldap soap vmailmgr ; do
!       mkdir $dir/doc
!       cp /usr/share/common-licenses/GPL-2 $dir/doc/copyright.gpl
!       add="$dir/doc $dir/doc/copyright.gpl"
! done
! 
! rm addbook/readme
! remove="$remove addbook/readme"
! 
! mv vmailmgr/readme.txt                vmailmgr/doc/readme.txt
! mv addbook/README                     addbook/doc/README
! mv backup/README                      backup/doc/README
! mv notes/TODO                         notes/doc/TODO
! mv soap/README.txt                    soap/doc/README.txt
! mv wap/README                         wap/doc/README
! 
! rm forum/README
! mv infolog/calendar/readme    infolog/doc/readme
! mv setup/lang/README          setup/doc/README.lang
! mv tts/README.NOW                     tts/doc/README.NOW
! 
! remove="$remove vmailmgr/readme.txt addbook/README backup/README notes/TODO 
soap/README.txt wap/README forum/README infolog/calendar/readme 
setup/lang/README tts/README.NOW"
! add="$add vmailmgr/doc/readme.txt addbook/doc/README backup/doc/README 
notes/doc/TODO soap/doc/README.txt wap/doc/README infolog/doc/readme 
setup/doc/README.lang tts/doc/README.NOW"
! 
! echo $add > add
! echo $remove > remove




reply via email to

[Prev in Thread] Current Thread [Next in Thread]