diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-03-03 17:00:56 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:10:55 -0500 |
commit | bf565b7b7bfef0219db59bf5920abcc522f99aa5 (patch) | |
tree | d105e850a1b6faaf3d8630f1a12b79630a11f1a3 /source3/script/installmsg.sh | |
parent | e33b728c7b2076917e2149191222b259e5c1d942 (diff) | |
download | samba-bf565b7b7bfef0219db59bf5920abcc522f99aa5.tar.gz samba-bf565b7b7bfef0219db59bf5920abcc522f99aa5.tar.xz samba-bf565b7b7bfef0219db59bf5920abcc522f99aa5.zip |
r13816: Volunteering :-)
> for the svn log:
>
> - Solaris' /bin/sh doesn't know "test -e" - let's use "test -f" instead
>
> Some volunteer wanna check this in? :)
>
> Cheers
> Bjoern
Volker
(This used to be commit 58d5f2031ac6018417ecd3c2306c120b5c7d1e43)
Diffstat (limited to 'source3/script/installmsg.sh')
-rw-r--r-- | source3/script/installmsg.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/script/installmsg.sh b/source3/script/installmsg.sh index 612568bbce7..859e4c10cf9 100644 --- a/source3/script/installmsg.sh +++ b/source3/script/installmsg.sh @@ -26,7 +26,7 @@ for f in $SRCDIR/po/*.msg; do if test "$mode" = 'install'; then echo "Installing $f as $FNAME " cp "$f" "$FNAME" - if test ! -e "$FNAME"; then + if test ! -f "$FNAME"; then echo "Cannot install $FNAME. Does $USER have privileges? " exit 1 fi @@ -34,7 +34,7 @@ for f in $SRCDIR/po/*.msg; do elif test "$mode" = 'uninstall'; then echo "Removing $FNAME " rm -f "$FNAME" - if test -e "$FNAME"; then + if test -f "$FNAME"; then echo "Cannot remove $FNAME. Does $USER have privileges? " exit 1 fi |