diff --git a/courier-prime-fonts.changes b/courier-prime-fonts.changes index 51c309a..0f27777 100644 --- a/courier-prime-fonts.changes +++ b/courier-prime-fonts.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 5 09:57:34 UTC 2013 - toms@opensuse.org + +- Replace spaces in filenames with "_" + ------------------------------------------------------------------- Tue Feb 5 09:45:45 UTC 2013 - toms@opensuse.org diff --git a/courier-prime-fonts.spec b/courier-prime-fonts.spec index d9dd375..30229a1 100644 --- a/courier-prime-fonts.spec +++ b/courier-prime-fonts.spec @@ -44,6 +44,12 @@ unzip -j %{SOURCE0} [ -e __MACOSX ] && rm -rf __MACOSX/ chmod 644 *.txt *.ttf + +# Replace spaces in filenames +for i in Courier*.ttf; do + mv -vi "$i" "${i// /_}" +done + # Remove DOS line endings: for i in *.txt; do sed -i 's/.$//' "$i"