Thanks!
I applied the patches and pushed to git HEAD.
Hi,
The following two patches fix the issues in this Task:
This fixes the first issue by introducing a new boolean "make_themes" (I used make_themes instead of cp_themes since you aren't copying like in the other cases) and then making a .pekwm/themes dir if it doesn't already exist. I didn't put all the tests in that exist for the .pekwm directory, because if you can safely make .pekwm it seems to me that you should be able to make .pekwm/themes.
This fixes the second issue by introducing another test inside the for loop. It also resolves another issue--if you have any non-directory in a themes dir, it will show up in the menu, even though only directories can be full themes in there.
I have tested these patches myself but there are no guarantees.
It appears that it really mangled the diff when I just copy and pasted it. The relevant commit from the git master tree is:
2a637df... Make pekwm_themeset.sh much faster avoiding a lot of forks.