3 if ! test -e "modules.php"; then
4 echo "$0: Please execute this script from root directory."
8 find -type f -name "*.php" -exec svn propset svn:keywords "Author Id Revision HeadURL Date Tag" {} \;
9 find -type f -name "*-" -exec svn propset svn:keywords "Author Id Revision HeadURL Date Tag" {} \;
10 find -type f -name "*_" -exec svn propset svn:keywords "Author Id Revision HeadURL Date Tag" {} \;
11 find -type f -name "_*.php" -exec svn propset svn:keywords "Author Id Revision HeadURL Date Tag" {} \;
12 find -type f -name "*.php" -exec svn propset svn:mime-type "text/plain" {} \;
13 find -type f -name "*-" -exec svn propset svn:mime-type "text/plain" {} \;
14 find -type f -name "*_" -exec svn propset svn:mime-type "text/plain" {} \;
15 find -type f -name "_*.php" -exec svn propset svn:mime-type "text/plain" {} \;
16 find -type f -name "*.jpg" -exec svn propset svn:mime-type "image/jpeg" {} \;
17 find -type f -name "*.png" -exec svn propset svn:mime-type "image/png" {} \;
18 find -type f -name "*.gif" -exec svn propset svn:mime-type "image/gif" {} \;
19 find -type f -name "*.txt" -exec svn propset svn:mime-type "text/plain" {} \;
20 find -type f -name "*.tpl" -exec svn propset svn:mime-type "text/plain" {} \;