Commit 3d8b027b82fd53d74f4b1d28d5e473bc543ad950
1 parent
b6ff723a
Exists in
production-vendorized
change others symlinks
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
script/noosfero-plugins
| @@ -139,8 +139,8 @@ _enable(){ | @@ -139,8 +139,8 @@ _enable(){ | ||
| 139 | ln -s "$source" "$target" | 139 | ln -s "$source" "$target" |
| 140 | plugins_public_dir="$NOOSFERO_DIR/public/plugins" | 140 | plugins_public_dir="$NOOSFERO_DIR/public/plugins" |
| 141 | plugins_features_dir="$NOOSFERO_DIR/features/plugins" | 141 | plugins_features_dir="$NOOSFERO_DIR/features/plugins" |
| 142 | - test -d "$target/public" && ln -s "$target/public" "$plugins_public_dir/$plugin" | ||
| 143 | - test -d "$NOOSFERO_DIR/features" && test -d "$target/features" && ln -s "$target/features" "$plugins_features_dir/$plugin" | 142 | + test -d "$source/public" && ln -s "$source/public" "$plugins_public_dir/$plugin" |
| 143 | + test -d "$NOOSFERO_DIR/features" && test -d "$source/features" && ln -s "$source/features" "$plugins_features_dir/$plugin" | ||
| 144 | _say "$plugin enabled" | 144 | _say "$plugin enabled" |
| 145 | run "$source/after_enable.rb" | 145 | run "$source/after_enable.rb" |
| 146 | needs_migrate=true | 146 | needs_migrate=true |