Go to file
Sławomir Nizio 22b3387cb6 [molecules] add a script to update molecule/particle files
This is a silly script to modify .common (molecules) and .particle
files.
It can be used to modify (even automatic) another files with similar format too.
For .common files it uses "packages_to_add:" section, and for .particle
"packages:", but any can be used using --section.
Commiting it to this git repository because it could be most useful
here.

When adding an item it aborts if encountered file fragment is not sorted
(can be overridden with --force).
It can sort entries in a "section" too (--sort).
It can delete an item instead of adding (--delete).
Unless --noask is specified, displays diff and asks for confirmation.

usage examples:
	./modify.pl kde.common dev-util/geany
	./modify.pl --sort kde.common dev-util/geany
	./modify.pl --sort kde.common
	./modify.pl --delete kde.common x11-terms/xterm

I don't know if it'll be used. I've made it for fun.
Feel free to (re)move
it to another directory, like scripts/ (I think it fits
better here).
2011-10-12 20:02:32 +02:00
boot/core [boot] update memtest86+ to 4.20 2011-10-12 18:14:28 +02:00
chroot [molecules] add directories required at runtime 2011-08-13 14:57:25 +02:00
images [molecules] add images/ directory 2011-09-03 17:51:03 +02:00
iso [molecules] add directories required at runtime 2011-08-13 14:57:25 +02:00
livecd [molecules] add livecd/ empty dir 2011-08-13 15:03:00 +02:00
molecules [gnome] drop www-plugins/nspluginwrapper 2011-10-09 10:31:58 +02:00
remaster [isolinux] drop max_loop=64 cmdline option 2011-08-18 22:11:05 +02:00
scripts [molecules/scripts] generate md5 files without full path 2011-10-10 22:10:50 +02:00
sources [molecules] add directories required at runtime 2011-08-13 14:57:25 +02:00
.gitignore [molecules] add livecd/ empty dir 2011-08-13 15:03:00 +02:00
load_chroot_ssh [molecules] update perms of load_chroot_ssh 2011-08-13 15:03:44 +02:00
modify.pl [molecules] add a script to update molecule/particle files 2011-10-12 20:02:32 +02:00
SERVER_NOTES [molecules] add handy notes 2010-12-19 21:49:05 +01:00