Commit da22e33165fc2e2cbd7f6baaa95d00d6360db0ec
1 parent
a2179a73
Exists in
master
and in
29 other branches
Testing features folder on plugins script
(ActionItem2676)
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
script/noosfero-plugins
@@ -90,7 +90,7 @@ _enable(){ | @@ -90,7 +90,7 @@ _enable(){ | ||
90 | plugins_public_dir="$NOOSFERO_DIR/public/plugins" | 90 | plugins_public_dir="$NOOSFERO_DIR/public/plugins" |
91 | plugins_features_dir="$NOOSFERO_DIR/features/plugins" | 91 | plugins_features_dir="$NOOSFERO_DIR/features/plugins" |
92 | test -d "$target/public/" && ln -s "$target/public" "$plugins_public_dir/$plugin" | 92 | test -d "$target/public/" && ln -s "$target/public" "$plugins_public_dir/$plugin" |
93 | - test -d "$target/features" && ln -s "$target/features" "$plugins_features_dir/$plugin" | 93 | + test -d "$NOOSFERO_DIR/features" && test -d "$target/features" && ln -s "$target/features" "$plugins_features_dir/$plugin" |
94 | _say "$plugin enabled" | 94 | _say "$plugin enabled" |
95 | needs_migrate=true | 95 | needs_migrate=true |
96 | else | 96 | else |