source: bell-scheduler/trunk/fuentes/debian/n4d-bellscheduler.postinst @ 7483

Last change on this file since 7483 was 7483, checked in by jrpelegrina, 17 months ago

WIP in menu indicator to stop the bell

File size: 413 bytes
Line 
1#!/bin/sh
2
3set -e
4case "$1" in
5   configure)
6   
7        n4d-modules enable-plugin /etc/n4d/conf.d/BellSchedulerManager || true
8       
9        if dpkg --compare-versions "$2" lt 0.2.9; then
10                echo "Update bell files to use Indicator..."
11                n4d-client -r -m update_indicator_control -c BellSchedulerManager || true
12        fi
13   ;;
14
15   abort-upgrade|abort-remove|abort-deconfigure)
16   ;;
17
18   *)
19       exit 1
20   ;;
21esac
22
23#DEBHELPER#
24
25exit 0
Note: See TracBrowser for help on using the repository browser.