20 Dec
2006
20 Dec
'06
9:25 a.m.
2006/12/20, Jürgen Hötzel <juergen@hoetzel.info>:
This is getting complicated. I dislike hard-coded path-names. This makes scripts inflexible and unreadable. Personally i would prefer moving this to makepkg.conf, like:
REMOVE_DIRS=(pkg/usr/{share/,}{info,doc} pkg/opt/gnome/{foo/,}info)
and just do:
rm -rf ${REMOVE_DIRS[@]}
Nice idea! This is especially useful for other distros where pacman will be used. -- Roman Kyrylych (Роман Кирилич)