#!/usr/bin/env bash

mkdir -p /usr/share/handlers

cp -u dominio-web-plugin-handler.sh /usr/share/handlers/
cp -u dominio-web-plugin-handler.desktop /usr/share/applications/
cp -u TRComputerPluginLinux /usr/bin/
cp -u TRComputerPluginLinux.pdb /usr/bin/

chmod 755 /usr/share/handlers
chmod +x /usr/share/handlers/dominio-web-plugin-handler.sh
chmod +x /usr/bin/TRComputerPluginLinux

update-desktop-database
