Update of /cvsroot/freevo/freevo/src/helpers
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28966

Modified Files:
        install.py 
Log Message:
protect freevo files

Index: install.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/helpers/install.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** install.py  1 Dec 2003 20:07:27 -0000       1.7
--- install.py  6 Jun 2004 10:32:02 -0000       1.8
***************
*** 12,15 ****
--- 12,18 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.8  2004/06/06 10:32:02  dischi
+ # protect freevo files
+ #
  # Revision 1.7  2003/12/01 20:07:27  dischi
  # fix missing vfs for plugin installation
***************
*** 132,138 ****
                                           new_file.find('src') == 0 or
                                           new_file.find('i18n') == 0):
!                 print 'installing %s' % new_file
!                 mkalldir(os.path.dirname(new_file))
!                 os.rename(file, new_file)
      else:
          # check package
--- 135,153 ----
                                           new_file.find('src') == 0 or
                                           new_file.find('i18n') == 0):
!                 for protected in ('tv', 'audio', 'video', 'plugins',
!                                   'plugins/idlebar', 'skins'):
!                     if new_file == 'src/%s/__init__.py' % protected:
!                         print 'skipping %s' % new_file
!                         break
!                     if new_file == 'src/%s/plugins/__init__.py' % protected:
!                         print 'skipping %s' % new_file
!                         break
!                 else:
!                     if os.path.isfile(new_file):
!                         print 'updating %s' % new_file
!                     else:
!                         print 'installing %s' % new_file
!                     mkalldir(os.path.dirname(new_file))
!                     os.rename(file, new_file)
      else:
          # check package



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to