Commit 99b70ab59b65144210111c2cfe435f8f330eb96b
1 parent
125c72c3
Exists in
master
and in
29 other branches
Remove unused variable
Showing
1 changed file
with
0 additions
and
6 deletions
Show diff stats
script/noosfero-plugins
@@ -18,14 +18,8 @@ enabled_plugins=$(find -L "$enabled_plugins_dir" -maxdepth 1 -mindepth 1 -type d | @@ -18,14 +18,8 @@ enabled_plugins=$(find -L "$enabled_plugins_dir" -maxdepth 1 -mindepth 1 -type d | ||
18 | disabled_plugins=$(printf "%s\n" $available_plugins $enabled_plugins_dir | sort | uniq -u) | 18 | disabled_plugins=$(printf "%s\n" $available_plugins $enabled_plugins_dir | sort | uniq -u) |
19 | 19 | ||
20 | # operation defaults | 20 | # operation defaults |
21 | -read_only=true | ||
22 | quiet=false | 21 | quiet=false |
23 | 22 | ||
24 | -# initialization | ||
25 | -if [ -w "$enabled_plugins_dir" ]; then | ||
26 | - read_only=false | ||
27 | -fi | ||
28 | - | ||
29 | _list() { | 23 | _list() { |
30 | for plugin in $available_plugins; do | 24 | for plugin in $available_plugins; do |
31 | echo "$plugin" | 25 | echo "$plugin" |