diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-10-24 09:24:17 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-10-24 09:24:17 -0200 |
commit | 5107961a3db5fd862e1924394ba56595fd36d44f (patch) | |
tree | 4e66d8e48d001fdf6acb0cacb09ac50fe6d738cc /bin/symlinks | |
parent | 1bfffe2e0adff6e44ec33726988b64f95ea2f599 (diff) | |
download | debian-5107961a3db5fd862e1924394ba56595fd36d44f.tar.gz debian-5107961a3db5fd862e1924394ba56595fd36d44f.tar.bz2 |
Squashed 'puppet/' changes from 59b7f11..e4ae97e
e4ae97e Adds copymodules
de1a6dc Exclude site_ modules at bin/symlinks
git-subtree-dir: puppet
git-subtree-split: e4ae97e75dd88884340792795ccfce942a199dae
Diffstat (limited to 'bin/symlinks')
-rwxr-xr-x | bin/symlinks | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/bin/symlinks b/bin/symlinks index 0a221c4..c331261 100755 --- a/bin/symlinks +++ b/bin/symlinks @@ -17,8 +17,14 @@ fi # Add module symlinks using absolute folders for module in `ls $MODULES`; do - if [ "$module" != "bootstrap" ]; then - path="`cd $MODULES/$module && pwd`" - ( cd modules &> /dev/null && ln -sf $path ) + if [ "$module" == "bootstrap" ]; then + continue fi + + if echo "$module" | grep -q "^site_"; then + continue + fi + + path="`cd $MODULES/$module && pwd`" + ( cd modules &> /dev/null && ln -sf $path ) done |