No need for basename here

This commit is contained in:
Roy Marples 2008-01-06 21:51:30 +00:00
parent 26f5eeece1
commit 956a867a71

View File

@ -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