xrdbupdate: Test for readability because symlinks

Lotsa people symlink their Xresources
This commit is contained in:
Salt 2018-05-18 11:59:47 -05:00
parent c21234dd9c
commit e0f4b57807

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
if [ -f ~/.Xresources ]; then if [ -r ~/.Xresources ]; then
xrdb ~/.Xresources xrdb ~/.Xresources
printf "Loading .Xresources...\n" printf "Loading .Xresources...\n"
fi fi