mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
missing parenthesis
This commit is contained in:
parent
c67813f5d5
commit
a0ae79402d
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ CHECK_TEMPLATE () {
|
||||||
if [ -e "$app_scripts_dir/$script" ] && [ "$script" != "config" ]
|
if [ -e "$app_scripts_dir/$script" ] && [ "$script" != "config" ]
|
||||||
then
|
then
|
||||||
template_output="$($grep_command --count "ynh_script_progression|ynh_print_info" "$app_scripts_dir/$script")"
|
template_output="$($grep_command --count "ynh_script_progression|ynh_print_info" "$app_scripts_dir/$script")"
|
||||||
if [ $template_output -lt 5 ] || ( [ "$script" = "change_url" ] && [ $template_output -lt 3 ] || ( [ "$script" = "backup" ] && [ $template_output -lt 4 ] )
|
if [ $template_output -lt 5 ] || ( [ "$script" = "change_url" ] && [ $template_output -lt 3 ] ) || ( [ "$script" = "backup" ] && [ $template_output -lt 4 ] )
|
||||||
then
|
then
|
||||||
template_output="$app_scripts_dir/$script"
|
template_output="$app_scripts_dir/$script"
|
||||||
show_error "Looks like there isn't many comment progression indicators in your script" "Consider adding more indicators to help your users know the progression of the scripts"
|
show_error "Looks like there isn't many comment progression indicators in your script" "Consider adding more indicators to help your users know the progression of the scripts"
|
||||||
|
|
Loading…
Add table
Reference in a new issue