dist: fix 'maintainer-script-lacks-debhelper-token' message on building ubuntu package

Signed-off-by: Takuya ASADA <syuu@scylladb.com>
This commit is contained in:
Takuya ASADA
2015-11-09 23:07:00 +09:00
parent 89fe283506
commit 91bd7cf71a
2 changed files with 2 additions and 19 deletions

View File

@@ -12,13 +12,4 @@ if [ "$1" = configure ]; then
chown -R scylla:scylla /var/lib/scylla
fi
# Automatically added by dh_installinit
if [ -x "/etc/init.d/scylla-server" ]; then
if [ ! -e "/etc/init/scylla-server.conf" ]; then
update-rc.d scylla-server defaults >/dev/null
fi
fi
# End automatically added section
# Automatically added by dh_installinit
update-rc.d -f scylla-server remove >/dev/null || exit $?
# End automatically added section
#DEBHELPER#

View File

@@ -1,9 +1 @@
# Automatically added by dh_installinit
if [ "$1" = install ] || [ "$1" = upgrade ]; then
if [ -e "/etc/init.d/scylla-server" ] && [ -L "/etc/init.d/scylla-server" ] \
&& [ $(readlink -f "/etc/init.d/scylla-server") = /lib/init/upstart-job ]
then
rm -f "/etc/init.d/scylla-server"
fi
fi
# End automatically added section
#DEBHELPER#