Permalink
Browse files

Silent attempt to mount /usr/local/share/font-* when it doesn't exist

  • Loading branch information...
1 parent 3a54565 commit 4c6e9ef2e488e0b4e4f47c2834afc160da668f94 @rbgarga rbgarga committed Mar 24, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 src-sh/pbi-manager/pbime/pbimount
View
2 src-sh/pbi-manager/pbime/pbimount
@@ -129,7 +129,7 @@ mount_dirs() {
fi
# Support for some font packages(example: japanese/font-vlgothic)
- for fontdir in /usr/local/share/font-*
+ for fontdir in `ls -1 /usr/local/share/font-* 2>/dev/null`
do
subdir=`basename $fontdir`
if [ ! -d "${pDir}/virtbase/usr/local/share/$subdir" ]; then

0 comments on commit 4c6e9ef

Please sign in to comment.