summaryrefslogtreecommitdiff
path: root/veracrypt/veracrypt.spec
diff options
context:
space:
mode:
Diffstat (limited to 'veracrypt/veracrypt.spec')
-rw-r--r--veracrypt/veracrypt.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/veracrypt/veracrypt.spec b/veracrypt/veracrypt.spec
index 0d9ef35..164f57d 100644
--- a/veracrypt/veracrypt.spec
+++ b/veracrypt/veracrypt.spec
@@ -175,7 +175,7 @@ if test -e "%{indocdir}/chm/VeraCrypt User Guide.chm" ;
then
mv "%{indocdir}/chm/VeraCrypt User Guide.chm" "%{indocdir}/chm/VeraCrypt_User_Guide.chm" || :
fi
-%{__install} -d "%{buildroot}%{doctarget}"
+! test -d "%{buildroot}%{doctarget}" && %{__install} -d "%{buildroot}%{doctarget}" || :
%{__install} -D -m 0644 %{indocdir}/chm/VeraCrypt_User_Guide.chm %{buildroot}%{doctarget}
# icons
bgstack15