summarylogtreecommitdiffstats
path: root/mime-archpkg.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mime-archpkg.sh')
-rw-r--r--mime-archpkg.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/mime-archpkg.sh b/mime-archpkg.sh
index b859b3073471..cfd035133e2f 100644
--- a/mime-archpkg.sh
+++ b/mime-archpkg.sh
@@ -52,10 +52,10 @@ add() {
fi
if [[ $size -ne 0 ]]; then
if [[ -d $theme/$elem ]]; then
- if [[ -f $theme/$elem/package.svg ]]; then
- suf=svg
- else
+ if [[ -f $theme/$elem/package-x-generic.png ]]; then
suf=png
+ else
+ suf=svg
fi
# convert -resize ${size}x${size} -background none "$file" /tmp/$NAME.$suf
rsvg-convert -o /tmp/$NAME.$suf -f $suf -w $size -h $size "$file"