#!/bin/sh set -e case $1 in configure) if [ ! -f /opt/arduino/lib/libastylej.so ] ; then if [ -f /opt/arduino/lib/libastylej.txt ] ; then echo " [ arduino-ide ] : setting .so files" cp -f /opt/arduino/lib/libastylej.txt /opt/arduino/lib/libastylej.so fi fi ;; abort-upgrade|abort-remove|abort-deconfigure) echo "postinst called with argument \`$1'" >&2 exit 1 ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac