Fix script "use.perl": correctly check variables 'need_*'.
Submitted by: Artis Caune <artis.caune xx gmail.com>
This commit is contained in:
parent
ba54b1ccd9
commit
36f3f471e5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=243848
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user