index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-10-23 23:05:44 -0500 |
---|---|---|
committer | Simo Leone <simo@archlinux.org> | 2007-10-24 02:05:32 -0500 |
commit | 9a34024e57527a0a706ca39a6cd03239592c99f6 (patch) | |
tree | 0e4176c97d28143397e8d25138bcfa65d2264e9c /mkarchiso | |
parent | e1d6dcec6b0a8a48f59bc83f6f51a9ffbc3f26f7 (diff) |
-rwxr-xr-x | mkarchiso | 6 |
@@ -155,17 +155,13 @@ if [ "${command_name}" = "install" -o "${command_name}" = "all" ]; then find "${instroot}" -name *.pacnew -name *.pacsave -name *.pacorig -delete # delete a lot of unnecessary cache/log files - kill_dirs="var/abs var/cache/man var/cache/pacman var/log/* var/mail tmp/* usr/include initrd" + kill_dirs="var/abs var/cache/man var/cache/pacman var/log/* var/mail tmp/* initrd" for x in ${kill_dirs}; do if [ -e "${instroot}/${x}" ]; then rm -rf "${instroot}/${x}" fi done - # delete static libraries - find "${instroot}/lib" -name *.a -delete - find "${instroot}/usr/lib" -name *.a -delete - # pacman DBs are big, delete all sync dbs for d in ${instroot}/var/lib/pacman/*; do [ "$(basename ${d})" != "local" ] && rm -rf "${d}" |