#!/bin/sh
mkdir -p "/opt/Autodesk/sparks/PRIMATTE"
cp "PrimatteV5.spark" "/opt/Autodesk/sparks/PRIMATTE/."
cp "GetSerial" "/opt/Autodesk/sparks/."
cp -rf "doc" "/opt/Autodesk/sparks/PRIMATTE/."
./GetSerial
echo "replace with line with license file" > "/opt/Autodesk/sparks/prim5.txt"
chmod 666 "/opt/Autodesk/sparks/prim5.txt"
open "/opt/Autodesk/sparks/prim5.txt"

