#!/bin/sh
# VoiceStudio — .deb pre-install hook.
#
# Ensure the target directory exists before dpkg writes the bundled ffprobe to
# /usr/lib/omnivoice-studio/bin/. dpkg creates parent dirs for files in the
# data archive, but having this here makes upgrade flows from an older install
# (where the dir didn't exist yet) robust.

set -e

mkdir -p /usr/lib/omnivoice-studio/bin

exit 0
