35-xdg-user-dirs: cope with missing control

There's no reason to bail out if xdg-user-dirs control
facility is not available within the branch used.
This commit is contained in:
Michael Shigorin 2012-06-25 16:59:09 +03:00
parent f8af1c9243
commit 9ba93dff2d

View File

@ -1,4 +1,6 @@
#!/bin/sh #!/bin/sh
# Turn on xdg-user-dirs. # Turn on xdg-user-dirs.
# NB: not yet available on t6/p6 hence the warning
control xdg-user-dirs enabled control xdg-user-dirs enabled ||
echo "** warning: control xdg-user-dirs failed" >&2