source: lliurex-smart/trunk/fuentes/debian/lliurex-smart64.postrm @ 6748

Last change on this file since 6748 was 6748, checked in by hectorgh, 20 months ago

trying to fix the universe

File size: 518 bytes
Line 
1#!/bin/sh
2
3
4SMART_NOTEBOOK="/opt/SMART Technologies/Notebook Software/bin/Notebook/notebook"
5LLIUREX_SMART="/usr/bin/lliurex-notebook"
6
7
8
9case "$1" in
10
11        remove|purge)
12               
13                # Sanity checks, testing previous installations
14
15                if [ -L "${SMART_NOTEBOOK}" ]; then
16
17                        echo "[ LliureX Smart ] : Link must be removed"
18                        if [ -f "${SMART_NOTEBOOK}.bkp" ]; then
19                                mv "${SMART_NOTEBOOK}.bkp" "${SMART_NOTEBOOK}"
20                        fi
21
22                fi
23                ;;
24
25        *)
26               
27                echo "prerm called with unknown argument \`$1'" >&2
28
29        ;;
30
31esac
32
33
34#DEBHELPER#
35
36exit 0
Note: See TracBrowser for help on using the repository browser.