The Samba-Bugzilla – Attachment 419 Details for
Bug 1129
installswat.sh does not install image files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
A patch for installing ./docs/htmldocs/images/*.png files
samba-3.0.1-installimg.patch (text/plain), 1.05 KB, created by
Shiro Yamada
on 2004-02-24 23:42:26 UTC
(
hide
)
Description:
A patch for installing ./docs/htmldocs/images/*.png files
Filename:
MIME Type:
Creator:
Shiro Yamada
Created:
2004-02-24 23:42:26 UTC
Size:
1.05 KB
patch
obsolete
>diff -uNr samba-3.0.1.org/source/script/installswat.sh samba-3.0.1/source/script/installswat.sh >--- samba-3.0.1.org/source/script/installswat.sh Wed Feb 25 14:20:35 2004 >+++ samba-3.0.1/source/script/installswat.sh Wed Feb 25 15:56:50 2004 >@@ -81,6 +81,22 @@ > cp $f $FNAME || echo Cannot install $FNAME. Does $USER have privileges? > chmod 0644 $FNAME > done >+ >+ if [ -d $SRCDIR../docs/htmldocs/images/ ]; then >+ if [ ! -d $SWATDIR/help/images/ ]; then >+ mkdir $SWATDIR/help/images >+ if [ ! -d $SWATDIR/help/images/ ]; then >+ echo Failed to make directory $SWATDIR/help/images, does $USER have privileges? >+ exit 1 >+ fi >+ fi >+ for f in $SRCDIR../docs/htmldocs/images/*.png; do >+ FNAME=$SWATDIR/help/images/`basename $f` >+ echo $FNAME >+ cp $f $FNAME || echo Cannot install $FNAME. Does $USER have privileges? >+ chmod 0644 $FNAME >+ done >+ fi > fi > > # Install Using Samba book (but only if it is there)
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 Raw
Actions:
View
Attachments on
bug 1129
: 419