mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-01-11 15:49:38 -05:00
move /usr/lib/helper-scripts and /usr/lib/curl-scripts to /usr/libexec/helper-scripts as per lintian FHS
This commit is contained in:
parent
0492f28aa1
commit
6607c1e4bd
4
debian/security-misc.postinst
vendored
4
debian/security-misc.postinst
vendored
@ -3,8 +3,8 @@
|
|||||||
## Copyright (C) 2012 - 2021 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
|
## Copyright (C) 2012 - 2021 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
|
||||||
## See the file COPYING for copying conditions.
|
## 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
|
||||||
source /usr/lib/helper-scripts/pre.bsh
|
source /usr/libexec/helper-scripts/pre.bsh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
4
debian/security-misc.postrm
vendored
4
debian/security-misc.postrm
vendored
@ -3,8 +3,8 @@
|
|||||||
## Copyright (C) 2012 - 2021 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
|
## Copyright (C) 2012 - 2021 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
|
||||||
## See the file COPYING for copying conditions.
|
## 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
|
||||||
source /usr/lib/helper-scripts/pre.bsh
|
source /usr/libexec/helper-scripts/pre.bsh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
4
debian/security-misc.preinst
vendored
4
debian/security-misc.preinst
vendored
@ -3,8 +3,8 @@
|
|||||||
## Copyright (C) 2012 - 2021 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
|
## Copyright (C) 2012 - 2021 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
|
||||||
## See the file COPYING for copying conditions.
|
## 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
|
||||||
source /usr/lib/helper-scripts/pre.bsh
|
source /usr/libexec/helper-scripts/pre.bsh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
4
debian/security-misc.prerm
vendored
4
debian/security-misc.prerm
vendored
@ -3,8 +3,8 @@
|
|||||||
## Copyright (C) 2012 - 2021 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
|
## Copyright (C) 2012 - 2021 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
|
||||||
## See the file COPYING for copying conditions.
|
## 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
|
||||||
source /usr/lib/helper-scripts/pre.bsh
|
source /usr/libexec/helper-scripts/pre.bsh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
@ -5,11 +5,11 @@
|
|||||||
|
|
||||||
set -e
|
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:
|
## pre.bsh would `source` the following folders:
|
||||||
## /etc/panic-on-oops_pre.d/*.conf
|
## /etc/panic-on-oops_pre.d/*.conf
|
||||||
## /usr/local/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
|
fi
|
||||||
|
|
||||||
## Makes the kernel panic on oopses. This prevents the kernel
|
## Makes the kernel panic on oopses. This prevents the kernel
|
||||||
|
@ -11,11 +11,11 @@
|
|||||||
set -x
|
set -x
|
||||||
set -e
|
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:
|
## pre.bsh would `source` the following folders:
|
||||||
## /etc/remount-secure_pre.d/*.conf
|
## /etc/remount-secure_pre.d/*.conf
|
||||||
## /usr/local/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
|
fi
|
||||||
|
|
||||||
if [ -e /etc/remount-disable ] || [ -e /usr/local/etc/remount-disable ]; then
|
if [ -e /etc/remount-disable ] || [ -e /usr/local/etc/remount-disable ]; then
|
||||||
|
@ -3,11 +3,11 @@
|
|||||||
## Copyright (C) 2012 - 2021 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
|
## Copyright (C) 2012 - 2021 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
|
||||||
## See the file COPYING for copying conditions.
|
## 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:
|
## pre.bsh would `source` the following folders:
|
||||||
## /etc/remove-system.map_pre.d/*.conf
|
## /etc/remove-system.map_pre.d/*.conf
|
||||||
## /usr/local/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
|
fi
|
||||||
|
|
||||||
shopt -s nullglob
|
shopt -s nullglob
|
||||||
|
Loading…
Reference in New Issue
Block a user