diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2009-11-05 18:50:45 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2009-11-05 18:50:45 +0000 |
commit | 36f3f471e5ebe34392f14ccdbdb3cf6174af4c42 (patch) | |
tree | ab6ba46f3d12ada3075fa716ece46e390bd70367 /lang/perl5.12 | |
parent | Force category name be in lower case. (diff) |
Fix script "use.perl": correctly check variables 'need_*'.
Submitted by: Artis Caune <artis.caune xx gmail.com>
Notes
Notes:
svn path=/head/; revision=243848
Diffstat (limited to 'lang/perl5.12')
-rw-r--r-- | lang/perl5.12/files/use.perl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lang/perl5.12/files/use.perl b/lang/perl5.12/files/use.perl index 59ee8ee0fce9..e6314754e43f 100644 --- a/lang/perl5.12/files/use.perl +++ b/lang/perl5.12/files/use.perl @@ -140,12 +140,12 @@ do_spam_manpath() echo " Done." } -[ $need_remove_links ] && do_remove_links -[ $need_create_links ] && do_create_links -[ $need_post_install ] && do_post_install -[ $need_cleanup_make_conf ] && do_cleanup_make_conf -[ $need_spam_make_conf ] && do_spam_make_conf -[ $need_cleanup_manpath ] && do_cleanup_manpath -[ $need_spam_manpath ] && do_spam_manpath +[ "$need_remove_links" = "yes" ] && do_remove_links +[ "$need_create_links" = "yes" ] && do_create_links +[ "$need_post_install" = "yes" ] && do_post_install +[ "$need_cleanup_make_conf" = "yes" ] && do_cleanup_make_conf +[ "$need_spam_make_conf" = "yes" ] && do_spam_make_conf +[ "$need_cleanup_manpath" = "yes" ] && do_cleanup_manpath +[ "$need_spam_manpath" = "yes" ] && do_spam_manpath exit 0 |