colorizer: rename issue

Bug #646763 reported by CoD
6
This bug affects 1 person
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/#${newcolor}/gi" */*.svg
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.

Soft Libre (softlibre)
Changed in darkfuture:
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.