diff options
author | Roy Marples <roy@marples.name> | 2008-01-06 21:51:30 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-01-06 21:51:30 +0000 |
commit | 956a867a71d7f5157bcd85491373cdcf7e9e2c22 (patch) | |
tree | 6ecc46b0ec6fcf60332208dd3b7cfaeb703f61e9 /init.d.Linux/consolefont | |
parent | 26f5eeece1cc476a71bc16c66ead721c86e9cda2 (diff) |
No need for basename here
Diffstat (limited to 'init.d.Linux/consolefont')
-rwxr-xr-x | init.d.Linux/consolefont | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d.Linux/consolefont b/init.d.Linux/consolefont index 22e63422..d60b65ae 100755 --- a/init.d.Linux/consolefont +++ b/init.d.Linux/consolefont @@ -89,7 +89,7 @@ start() { for font in /usr/share/consolefonts/"${consolefont}".*; do :; done cp "${font}" "${RC_LIBDIR}"/console - echo "$(basename "${font}")" > "${RC_LIBDIR}"/console/font + echo "${font##*/}" > "${RC_LIBDIR}"/console/font if yesno ${unicode:-${UNICODE}}; then cp /dev/null "${RC_LIBDIR}"/console/unicode else |