diff options
author | skv <skv@FreeBSD.org> | 2009-11-06 02:50:45 +0800 |
---|---|---|
committer | skv <skv@FreeBSD.org> | 2009-11-06 02:50:45 +0800 |
commit | 23bc900c61c42e512a3b219bf81ce4f11f5c1c52 (patch) | |
tree | a3c3f46b1b69a5734f4fe15a124722c285abb599 /lang/perl5.8 | |
parent | e905f7eff52d4b7ad5b1073ccdc1ca2e9ebfd62f (diff) | |
download | freebsd-ports-gnome-23bc900c61c42e512a3b219bf81ce4f11f5c1c52.tar.gz freebsd-ports-gnome-23bc900c61c42e512a3b219bf81ce4f11f5c1c52.tar.zst freebsd-ports-gnome-23bc900c61c42e512a3b219bf81ce4f11f5c1c52.zip |
Fix script "use.perl": correctly check variables 'need_*'.
Submitted by: Artis Caune <artis.caune xx gmail.com>
Diffstat (limited to 'lang/perl5.8')
-rw-r--r-- | lang/perl5.8/files/use.perl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lang/perl5.8/files/use.perl b/lang/perl5.8/files/use.perl index 23e21002eb80..0694bf5c6643 100644 --- a/lang/perl5.8/files/use.perl +++ b/lang/perl5.8/files/use.perl @@ -161,12 +161,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 |