diff --git a/stpkg b/stpkg index 977475b8e63f602db6e7a270f9028b0dd279f729..79372f711f7e3ed1f527a952f0785caeb71d4d5a 100755 --- a/stpkg +++ b/stpkg @@ -732,8 +732,8 @@ __pack() { local INIT_WIDTH=$WIDTH local INIT_HEIGHT=$HEIGHT picture_resize_preview "$DEST" "$NAME" - local WIDTH=$( identify -format "%w" "$DEST") >/dev/null - local HEIGHT=$(identify -format "%h" "$DEST") >/dev/null + local WIDTH=$( identify -format "%w" "$DEST[0]") >/dev/null + local HEIGHT=$(identify -format "%h" "$DEST[0]") >/dev/null # Add the sticker to the index file create_sticker_json "$PACK_NAME" "$NAME" "$WIDTH" "$HEIGHT" "$TYPE" "$MXC" >> $DEST_INDEX