#!/bin/bash

sudo rm -rf /usr/lib/ufficiozero/postinstall
sudo cp -R usr /
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
mkdir -p debian/postinstall/usr/share/ufficiozero/postinstall
cd resources && sudo glib-compile-resources \
    --target=/usr/share/ufficiozero/postinstall/postinstall.gresource postinstall.gresource.xml \
    && cd ..

DEBUG=1 postinstall
