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

Last change on this file since 1316 was 1316, checked in by Juanma, 3 years ago

Updated changelog

File size: 665 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                        else
21                                echo "[ LliureX Smart ] backup file is missing ...nothing to do"
22                        fi
23
24                else
25
26                        echo "[ LliureX Smart ] : Link is removed, nothing to do"
27
28                fi
29                ;;
30
31        *)
32               
33                echo "prerm called with unknown argument \`$1'" >&2
34
35        ;;
36
37esac
38
39
40#DEBHELPER#
41
42exit 0
Note: See TracBrowser for help on using the repository browser.