[pacman-dev] makepkg: removing empty directories?

VMiklos vmiklos at frugalware.org
Mon Feb 20 04:29:24 EST 2006


from makepkg:
1.12         (aurelien 16-Feb-06): # remove empty directories
1.12         (aurelien 16-Feb-06): if [ "`check_option NOEMPTYDIRS`" ]; then
1.12         (aurelien 16-Feb-06):      msg "Removing empty directories..."
1.12         (aurelien 16-Feb-06):      find pkg -mindepth 1 -type d -empty -exec rmdir {} \;
1.12         (aurelien 16-Feb-06): fi

cmiiw, but openssh creates an empty /var/empty directory and it _does_
need it. any idea how to solve this problem? for now, i haven't merged
this hunk to our tree

udv / greetings,
VMiklos

-- 
Developer of Frugalware Linux, to make things frugal - http://frugalware.org




More information about the pacman-dev mailing list