Skip to content

Commit

Permalink
CPACK: resolve ci issue and dbhelper comments
Browse files Browse the repository at this point in the history
Signed-off-by: ahspw <[email protected]>
  • Loading branch information
ahspw committed Jan 9, 2024
1 parent 57ff06d commit 2a9066b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1123,6 +1123,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
set(FLB_INSTALL_BINDIR "bin")
set(FLB_INSTALL_LIBDIR "lib")
set(FLB_INSTALL_CONFDIR "conf")
set(FLB_INSTALL_INITDIR "init.d")
set(FLB_INSTALL_INCLUDEDIR "include")
else()
set(FLB_INSTALL_BINDIR ${CMAKE_INSTALL_FULL_BINDIR})
Expand Down
2 changes: 0 additions & 2 deletions cpack/debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ case "${1}" in
;;
esac

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


exit 0
2 changes: 0 additions & 2 deletions cpack/debian/postrm
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ case "${1}" in
;;
esac

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


exit 0
3 changes: 1 addition & 2 deletions cpack/debian/prerm
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/sh
set -e
# Automatically added by dh_installinit/12.10

if [ -x "/etc/init.d/fluent-bit" ] && [ "$1" = remove ]; then
invoke-rc.d fluent-bit stop || exit 1
fi
# End automatically added section

0 comments on commit 2a9066b

Please sign in to comment.