I have the following debian structure:
- debian/usr/share/test
- debian/usr/share/test/test
- debian/usr/share/test/test/a
- debian/usr/share/test/test/b
After building the package using dpkg-deb --build and installing it using dpkg -i, it doesn't seem to create the folders test automatically if they don't exist. Do I need to create them manually in preinst script?
UPDATE: Issue was because preinst had an error so unpacking didn't get a chance to happen.
Laurent