source: epoptes/trunk/fuentes/debian/epoptes-client.preinst @ 295

Last change on this file since 295 was 295, checked in by mabarracus, 3 years ago

copy trusty epoptes code

File size: 469 bytes
Line 
1#!/bin/sh
2set -e
3
4# It seems that dh_installinit doesn't remove the upstart symlinks :(
5# We won't be needing that in the future, it's only for the upstart =>
6# sysvinit migration.
7
8if [ "$1" = install ] || [ "$1" = upgrade ]; then
9    test -h /etc/init.d/epoptes-client && rm -f /etc/init.d/epoptes-client
10    rm -f /etc/init/epoptes-client.conf
11fi
12
13# dh_installdeb will replace this with shell code automatically
14# generated by other debhelper scripts.
15
16#DEBHELPER#
Note: See TracBrowser for help on using the repository browser.