~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: dcoles
  • Date: 2008-03-10 01:43:55 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:681
setup.py: chown the phpBB3 directory to www-data for correct permissions

Show diffs side-by-side

added added

removed removed

Lines of Context:
959
959
    action_copylist(install_list.list_lib, ivle_install_dir, dry)
960
960
    
961
961
    # Copy the php directory
962
 
    action_copytree('www/php/phpBB3',os.path.join(ivle_install_dir,'www/php/phpBB3'), 
963
 
    dry)
 
962
    forum_dir = "www/php/phpBB3"
 
963
    forum_path = os.path.join(ivle_install_dir, forum_dir)
 
964
    action_copytree(forum_dir, forum_path, dry)
 
965
    print "chown -R www-data:www-data %s" % forum_path
 
966
    if not dry:
 
967
        os.system("chown -R www-data:www-data %s" % forum_path)
964
968
 
965
969
    if not nojail:
966
970
        # Copy the local jail directory built by the build action