Fix find command in preview script.

This commit is contained in:
tastytea 2020-05-25 13:51:34 +02:00
parent 24eb1b2f65
commit a4b917bcb4
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
# Generate previews from cursors.
# Generate previews from X11 cursors.
if ! command -v xcur2png > /dev/null; then
echo "You need to install xcur2png." >&2
@ -15,7 +15,7 @@ for theme in gentoo gentoo-blue gentoo-silver; do
mkdir -p _create_preview.sh_tmp/png/
mkdir _create_preview.sh_tmp/unique/
find cursors/${theme}/cursors/* -type f -exec \
find cursors/${theme}/cursors/ -type f -exec \
xcur2png -d _create_preview.sh_tmp/png/ -c - {} \;
for png in $(file _create_preview.sh_tmp/png/* | grep 48 | cut -d: -f1); do