diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2012-01-28 19:32:05 +0100 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2012-01-28 19:32:05 +0100 |
commit | fb4aa20d053d055a83cf25f07f4185ea79cb7b30 (patch) | |
tree | d216ae2f78e6830c6f02d334ef02cc2b90099b06 /init.d/consolefont.in | |
parent | 5a8344a3d1068b2a7b24bf88f9a2882475b2a5ae (diff) | |
download | openrc-fb4aa20d053d055a83cf25f07f4185ea79cb7b30.tar.gz openrc-fb4aa20d053d055a83cf25f07f4185ea79cb7b30.tar.bz2 openrc-fb4aa20d053d055a83cf25f07f4185ea79cb7b30.tar.xz |
Use "checkpath -W" instead of dir_writable()
Diffstat (limited to 'init.d/consolefont.in')
-rw-r--r-- | init.d/consolefont.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/consolefont.in b/init.d/consolefont.in index 2f046d8..66b780d 100644 --- a/init.d/consolefont.in +++ b/init.d/consolefont.in @@ -54,7 +54,7 @@ start() eend $retval # Store the last font so we can use it ASAP on boot - if [ $retval -eq 0 ] && dir_writable "$RC_LIBEXECDIR"; then + if [ $retval -eq 0 ] && checkpath -W "$RC_LIBEXECDIR"; then mkdir -p "$RC_LIBEXECDIR"/console for font in /usr/share/consolefonts/"$consolefont".*; do : |