diff --git a/debian/security-misc.postinst b/debian/security-misc.postinst index 7cc831b..616c93b 100644 --- a/debian/security-misc.postinst +++ b/debian/security-misc.postinst @@ -3,8 +3,8 @@ ## Copyright (C) 2012 - 2021 ENCRYPTED SUPPORT LP ## See the file COPYING for copying conditions. -if [ -f /usr/lib/helper-scripts/pre.bsh ]; then - source /usr/lib/helper-scripts/pre.bsh +if [ -f /usr/libexec/helper-scripts/pre.bsh ]; then + source /usr/libexec/helper-scripts/pre.bsh fi set -e diff --git a/debian/security-misc.postrm b/debian/security-misc.postrm index 01c9cbb..80a0726 100644 --- a/debian/security-misc.postrm +++ b/debian/security-misc.postrm @@ -3,8 +3,8 @@ ## Copyright (C) 2012 - 2021 ENCRYPTED SUPPORT LP ## See the file COPYING for copying conditions. -if [ -f /usr/lib/helper-scripts/pre.bsh ]; then - source /usr/lib/helper-scripts/pre.bsh +if [ -f /usr/libexec/helper-scripts/pre.bsh ]; then + source /usr/libexec/helper-scripts/pre.bsh fi set -e diff --git a/debian/security-misc.preinst b/debian/security-misc.preinst index dccd8b8..6baabd6 100644 --- a/debian/security-misc.preinst +++ b/debian/security-misc.preinst @@ -3,8 +3,8 @@ ## Copyright (C) 2012 - 2021 ENCRYPTED SUPPORT LP ## See the file COPYING for copying conditions. -if [ -f /usr/lib/helper-scripts/pre.bsh ]; then - source /usr/lib/helper-scripts/pre.bsh +if [ -f /usr/libexec/helper-scripts/pre.bsh ]; then + source /usr/libexec/helper-scripts/pre.bsh fi set -e diff --git a/debian/security-misc.prerm b/debian/security-misc.prerm index 9a1a0ae..d5a120c 100644 --- a/debian/security-misc.prerm +++ b/debian/security-misc.prerm @@ -3,8 +3,8 @@ ## Copyright (C) 2012 - 2021 ENCRYPTED SUPPORT LP ## See the file COPYING for copying conditions. -if [ -f /usr/lib/helper-scripts/pre.bsh ]; then - source /usr/lib/helper-scripts/pre.bsh +if [ -f /usr/libexec/helper-scripts/pre.bsh ]; then + source /usr/libexec/helper-scripts/pre.bsh fi set -e diff --git a/usr/lib/security-misc/panic-on-oops b/usr/lib/security-misc/panic-on-oops index 472a1d1..c0c001b 100755 --- a/usr/lib/security-misc/panic-on-oops +++ b/usr/lib/security-misc/panic-on-oops @@ -5,11 +5,11 @@ set -e -if [ -f /usr/lib/helper-scripts/pre.bsh ]; then +if [ -f /usr/libexec/helper-scripts/pre.bsh ]; then ## pre.bsh would `source` the following folders: ## /etc/panic-on-oops_pre.d/*.conf ## /usr/local/etc/panic-on-oops_pre.d/*.conf - source /usr/lib/helper-scripts/pre.bsh + source /usr/libexec/helper-scripts/pre.bsh fi ## Makes the kernel panic on oopses. This prevents the kernel diff --git a/usr/lib/security-misc/remount-secure b/usr/lib/security-misc/remount-secure index 2f3316b..8149148 100755 --- a/usr/lib/security-misc/remount-secure +++ b/usr/lib/security-misc/remount-secure @@ -11,11 +11,11 @@ set -x set -e -if [ -f /usr/lib/helper-scripts/pre.bsh ]; then +if [ -f /usr/libexec/helper-scripts/pre.bsh ]; then ## pre.bsh would `source` the following folders: ## /etc/remount-secure_pre.d/*.conf ## /usr/local/etc/remount-secure_pre.d/*.conf - source /usr/lib/helper-scripts/pre.bsh + source /usr/libexec/helper-scripts/pre.bsh fi if [ -e /etc/remount-disable ] || [ -e /usr/local/etc/remount-disable ]; then diff --git a/usr/lib/security-misc/remove-system.map b/usr/lib/security-misc/remove-system.map index e7a437b..ea33c8b 100755 --- a/usr/lib/security-misc/remove-system.map +++ b/usr/lib/security-misc/remove-system.map @@ -3,11 +3,11 @@ ## Copyright (C) 2012 - 2021 ENCRYPTED SUPPORT LP ## See the file COPYING for copying conditions. -if [ -f /usr/lib/helper-scripts/pre.bsh ]; then +if [ -f /usr/libexec/helper-scripts/pre.bsh ]; then ## pre.bsh would `source` the following folders: ## /etc/remove-system.map_pre.d/*.conf ## /usr/local/etc/remove-system.map_pre.d/*.conf - source /usr/lib/helper-scripts/pre.bsh + source /usr/libexec/helper-scripts/pre.bsh fi shopt -s nullglob