public
Description: Git mirror of the CMS Made Simple 2.0 rewrite
Homepage: http://cmsmadesimple.org
Clone URL: git://github.com/tedkulp/cmsmadesimple-2-0.git
cmsmadesimple-2-0 / release-cleanup.sh
100755 54 lines (48 sloc) 1.155 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/bin/sh
 
echo ------------------------------------
echo Running Cleanup Script
echo ------------------------------------
 
sh autogen.sh
 
#cd admin/lang
#perl findmissing.pl
#cd ../..
 
rm -fr CHECKLIST
rm -fr build
rm -fr config.php
rm -fr autogen.sh
rm -fr mpd.sql
rm -fr mysql.sql
rm -fr makedoc.sh
rm -fr cleardb.sh
rm -fr generatedump.php
rm -fr images/cms/*.svg
#rm -fr tmp/cache/*
#rm -fr tmp/templates_c/*
rm -fr svn-propset
rm -fr svn-propset-file
rm -fr find-mime
rm -fr admin/lang/*.sh
rm -fr admin/lang/*.pl
rm -fr admin/editconfig.php
rm -fr lib/adodb
rm -fr lib/preview.functions.php
rm -fr modules/LinkBlog
rm -fr modules/HTMLArea
rm -fr modules/PngTransparencyIE
rm -fr modules/PermaLinks
rm -fr modules/ProtectEmail
rm -fr modules/faqX
rm -fr modules/FCKeditor
rm -fr modules/FCKeditorX
#rm -fr modules/TinyMCE
rm -fr scripts
rm -fr test
rm -fr command.php
rm -fr lib/pear/php_shell
find . -depth -type d -name .svn -exec rm -fr {} \;
find . -type d -exec chmod 775 {} \;
find . -type f -name "*.php" chmod -x {} \;
rm -fr release-cleanup.sh
 
echo ------------------------------------
echo Done!
echo ------------------------------------