forked from cosmocommerce/tinygento
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlink.sh
executable file
·63 lines (57 loc) · 2.21 KB
/
link.sh
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
55
56
57
58
59
60
61
62
63
#!/bin/bash
DIR="app/code/community/CosmoCommerce"
DIR_CORE="app/code/community/CosmoCommerce/Core"
if [ -d "$DIR" ]
then
if [ -d "$DIR_CORE" ]
then
rm app/code/community/CosmoCommerce/Core -rf
fi
else
mkdir "$DIR"
fi
rm errors -rf
rm js -rf
rm shell -rf
rm lib -rf
rm app/locale -rf
rm app/code/core -rf
rm app/code/community/Cm -rf
rm app/code/community/Phoenix -rf
rm app/design/adminhtml/default -rf
rm app/design/frontend/base -rf
rm app/design/frontend/default -rf
rm app/design/frontend/rwd -rf
rm app/design/install -rf
rm app/etc/local.xml.template
rm app/etc/local.xml.additional
rm app/etc/config.xml
rm app/etc/modules/*
rm skin/adminhtml/default -rf
rm skin/frontend/base -rf
rm skin/frontend/default -rf
rm skin/frontend/rwd -rf
rm skin/install -rf
ln -sr ../tinygento-core/errors/ errors
ln -sr ../tinygento-core/js/ js
ln -sr ../tinygento-core/shell/ shell
ln -sr ../tinygento-core/lib/ lib
ln -sr ../tinygento-core/app/locale app/locale
ln -sr ../tinygento-core/app/code/core app/code/core
ln -sr ../tinygento-core/app/code/community/Cm app/code/community/Cm
ln -sr ../tinygento-core/app/code/community/Phoenix app/code/community/Phoenix
ln -sr ../tinygento-core/app/code/community/CosmoCommerce/Core app/code/community/CosmoCommerce/Core
ln -sr ../tinygento-core/app/design/adminhtml/default app/design/adminhtml/default
ln -sr ../tinygento-core/app/design/frontend/base app/design/frontend/base
ln -sr ../tinygento-core/app/design/frontend/default app/design/frontend/default
ln -sr ../tinygento-core/app/design/frontend/rwd app/design/frontend/rwd
ln -sr ../tinygento-core/app/design/install app/design/install
ln -sr ../tinygento-core/app/etc/local.xml.template app/etc/local.xml.template
ln -sr ../tinygento-core/app/etc/local.xml.additional app/etc/local.xml.additional
ln -sr ../tinygento-core/app/etc/config.xml app/etc/config.xml
ln -sr ../tinygento-core/app/etc/modules/* app/etc/modules/
ln -sr ../tinygento-core/skin/adminhtml/default skin/adminhtml/default
ln -sr ../tinygento-core/skin/frontend/base skin/frontend/base
ln -sr ../tinygento-core/skin/frontend/default skin/frontend/default
ln -sr ../tinygento-core/skin/frontend/rwd skin/frontend/rwd
ln -sr ../tinygento-core/skin/install skin/install