diff options
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 612568bbce..859e4c10cf 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 |