Merge pull request #42310 from WhyNotHugo/patch-2

Remove needless check
This commit is contained in:
Sebastiaan van Stijn 2021-04-22 21:08:28 +02:00 committed by GitHub
commit 82ba9b47ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,8 +28,8 @@ if ! [ -w $XDG_RUNTIME_DIR ]; then
echo "XDG_RUNTIME_DIR needs to be set and writable"
exit 1
fi
if ! [ -w $HOME ]; then
echo "HOME needs to be set and writable"
if ! [ -d $HOME ]; then
echo "HOME needs to be set and exist."
exit 1
fi