Created
June 17, 2009 17:11
-
-
Save timkelty/131363 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# This script creates symlinks from a self contained directory to theirappropriate | |
# places in your site directory, allowing you to maintain addons as Git submodules. | |
addon_dir="submodule_addons" | |
# FieldFrame | |
ln -sf ../"$addon_dir"/bk.fieldframe.ee_addon/extensions/ext.fieldframe.php ../extensions/ext.fieldframe.php | |
ln -sf ../../"$addon_dir"/bk.fieldframe.ee_addon/language/english/lang.fieldframe.php ../language/english/lang.fieldframe.php | |
ln -sf ../../"$addon_dir"/bk.fieldframe.ee_addon/language/english/lang.ff_matrix.php ../language/english/lang.ff_matrix.php | |
ln -sf ../../"$addon_dir"/bk.fieldframe.ee_addon/extensions/fieldtypes/ff_checkbox ../extensions/fieldtypes/ff_checkbox | |
ln -sf ../../"$addon_dir"/bk.fieldframe.ee_addon/extensions/fieldtypes/ff_checkbox_group ../extensions/fieldtypes/ff_checkbox_group | |
ln -sf ../../"$addon_dir"/bk.fieldframe.ee_addon/extensions/fieldtypes/ff_matrix ../extensions/fieldtypes/ff_matrix | |
ln -sf ../../"$addon_dir"/bk.fieldframe.ee_addon/extensions/fieldtypes/ff_multiselect ../extensions/fieldtypes/ff_multiselect | |
ln -sf ../../"$addon_dir"/bk.fieldframe.ee_addon/extensions/fieldtypes/ff_radio_group ../extensions/fieldtypes/ff_radio_group |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment