15 Dec
2007
15 Dec
'07
2:59 p.m.
lördag 15 december 2007 skrev Travis Willard:
Just a hint, since you were looking to add i586 - find and sed are your friends. :D
find -name PKGBUILD -exec sed -i '/^arch=/ { /i586/ !{ s/^arch=(/arch=(i586 / } }' {} \;
That will find every PKGBUILD and add i586 to the packages that don't already have it. Yay!
Thank you for that one. I am not as good to make such things, and it takes me considerable time for me to make something like that work properly. Karolina