From 36f3f471e5ebe34392f14ccdbdb3cf6174af4c42 Mon Sep 17 00:00:00 2001 From: Sergey Skvortsov Date: Thu, 5 Nov 2009 18:50:45 +0000 Subject: Fix script "use.perl": correctly check variables 'need_*'. Submitted by: Artis Caune --- lang/perl5.12/files/use.perl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'lang/perl5.12') 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 -- cgit v1.2.3