Skip to content

Commit 70c1a1c

Browse files
ahspwshaerpour
authored andcommitted
CPACK: resolve ci issue and dbhelper comments
Signed-off-by: ahspw <ahspvirtuallife@gmail.com>
1 parent 0c99754 commit 70c1a1c

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1205,6 +1205,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
12051205
set(FLB_INSTALL_BINDIR "bin")
12061206
set(FLB_INSTALL_LIBDIR "lib")
12071207
set(FLB_INSTALL_CONFDIR "conf")
1208+
set(FLB_INSTALL_INITDIR "init.d")
12081209
set(FLB_INSTALL_INCLUDEDIR "include")
12091210
else()
12101211
set(FLB_INSTALL_BINDIR ${CMAKE_INSTALL_FULL_BINDIR})

cpack/debian/postinst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ case "${1}" in
1717
;;
1818
esac
1919

20-
# Automatically added by dh_installinit/12.10
2120
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
2221
if [ -x "/etc/init.d/fluent-bit" ]; then
2322
update-rc.d fluent-bit defaults >/dev/null
@@ -29,7 +28,6 @@ if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-decon
2928
invoke-rc.d fluent-bit $_dh_action || exit 1
3029
fi
3130
fi
32-
# End automatically added section
3331

3432

3533
exit 0

cpack/debian/postrm

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@ case "${1}" in
1717
;;
1818
esac
1919

20-
# Automatically added by dh_installinit/12.10
2120
if [ "$1" = "purge" ] ; then
2221
update-rc.d fluent-bit remove >/dev/null
2322
fi
24-
# End automatically added section
2523

2624

2725
exit 0

cpack/debian/prerm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/bin/sh
22
set -e
3-
# Automatically added by dh_installinit/12.10
3+
44
if [ -x "/etc/init.d/fluent-bit" ] && [ "$1" = remove ]; then
55
invoke-rc.d fluent-bit stop || exit 1
66
fi
7-
# End automatically added section

0 commit comments

Comments
 (0)