FreeBSD Bugzilla – Attachment 23603 Details for
Bug 40593
www/oops FreeBSD port does not obey BATCH
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 857 bytes, created by
Dmitry Morozovsky
on 2002-07-15 12:20:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Dmitry Morozovsky
Created:
2002-07-15 12:20:01 UTC
Size:
857 bytes
patch
obsolete
>Index: pkg-install >=================================================================== >RCS file: /home/ncvs/ports/www/oops/pkg-install,v >retrieving revision 1.2 >diff -u -r1.2 pkg-install >--- pkg-install 15 Dec 2000 11:35:58 -0000 1.2 >+++ pkg-install 13 Jul 2002 01:17:29 -0000 >@@ -37,7 +37,13 @@ > echo "You already have a user \"${user}\", so I will use it." > else > echo "You need a user \"${user}\"." >- if yesno "Would you like me to create it" y; then >+ doadduser=1 >+ if [ "$BATCH" = "yes" ]; then >+ doadduser=0 >+ else >+ yesno "Would you like me to create it" y && doadduser=0 >+ fi >+ if [ $doadduser = 0 ]; then > /usr/sbin/pw useradd ${user} -g ${group} -h - -d /nonexistent \ > -s /nonexistent -c "Oops Cache System" || exit > echo "Done."
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 40593
:
23602
| 23603