forked from pool/courier-prime-fonts
- Replace spaces in filenames with "_"
OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/courier-prime-fonts?expand=0&rev=2
This commit is contained in:
parent
fe989365f1
commit
018121e07c
@ -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
|
Tue Feb 5 09:45:45 UTC 2013 - toms@opensuse.org
|
||||||
|
|
||||||
|
@ -44,6 +44,12 @@ unzip -j %{SOURCE0}
|
|||||||
[ -e __MACOSX ] && rm -rf __MACOSX/
|
[ -e __MACOSX ] && rm -rf __MACOSX/
|
||||||
|
|
||||||
chmod 644 *.txt *.ttf
|
chmod 644 *.txt *.ttf
|
||||||
|
|
||||||
|
# Replace spaces in filenames
|
||||||
|
for i in Courier*.ttf; do
|
||||||
|
mv -vi "$i" "${i// /_}"
|
||||||
|
done
|
||||||
|
|
||||||
# Remove DOS line endings:
|
# Remove DOS line endings:
|
||||||
for i in *.txt; do
|
for i in *.txt; do
|
||||||
sed -i 's/.$//' "$i"
|
sed -i 's/.$//' "$i"
|
||||||
|
Loading…
Reference in New Issue
Block a user