colorizer: rename issue
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DarkFuture KDE icon theme |
New
|
Low
|
Unassigned |
Bug Description
Ayni wrote on kde-.look.org:
[...]
First problem was with rename. Debian-based distros use prename when rename is called, and other distros hve somewhat diffrent approach. Usage is rename foo bar filename when on debian it's rename 's/foo/bar/' filename.
ok, this was easy to solve after I realised what the problem was.
Next problem was that for some reason gunzip left file extensions out. Thus rest of the script did nothing. The easyest solution I could find was add
for iconfile in */*;
do
mv "$iconfile" "$iconfile".svg;
done
in the script.
Now it worked.
the end of the script is now:
cd scalable
rename .svgz .z */*.svgz
for iconfile in `ls */*.z`
do
gunzip $iconfile
done
for iconfile in */*;
do
mv "$iconfile" "$iconfile".svg;
done
perl -pi -e "s/#d3cdc5/
gzip -S z */*.svg
That rename problem is systematic difference between distroes. But what's with the gunzip problem is beyond my knowledge, and I actually don't care. :)
This issue should be investigated and a workaround should be found.
Changed in darkfuture: | |
importance: | Undecided → Low |