source: arduino-1-6-7/trunk/fuentes/debian/arduino-ide.postinst @ 46

Last change on this file since 46 was 46, checked in by jrpelegrina, 3 years ago

First release to Xenial

File size: 569 bytes
Line 
1#!/bin/sh
2
3
4
5set -e
6
7
8case $1 in
9        configure)
10                if [ ! -f /opt/arduino/lib/libastylej.so ] ; then
11                        if [ -f /opt/arduino/lib/libastylej.txt ] ; then
12                                echo " [ arduino-ide ] : setting .so files"
13                                cp -f /opt/arduino/lib/libastylej.txt /opt/arduino/lib/libastylej.so
14                        fi
15                fi
16        ;;
17
18        abort-upgrade|abort-remove|abort-deconfigure)
19                echo "postinst called with argument \`$1'" >&2
20                exit 1
21        ;;
22
23        *)
24                echo "postinst called with unknown argument \`$1'" >&2
25                exit 1
26        ;;
27esac
28
29
Note: See TracBrowser for help on using the repository browser.