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:
11
debian/scylla-server.postinst
vendored
11
debian/scylla-server.postinst
vendored
@@ -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#
|
||||
|
||||
10
debian/scylla-server.preinst
vendored
10
debian/scylla-server.preinst
vendored
@@ -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#
|
||||
|
||||
Reference in New Issue
Block a user