libdevuansdk

common library for devuan's simple distro kits
git clone https://git.parazyd.org/libdevuansdk
Log | Files | Refs | Submodules | README | LICENSE

commit 3e687958ac37ecb4a3ac351c159b171e3757b669
parent 27175c1556b3b034c9d9eb9a28d18792daea260c
Author: gryrmln <gryrmln@localhost>
Date:   Fri,  2 Apr 2021 12:10:59 +0100

NOTE: potential for recursive calling (zlibs/helpers)

Signed-off-by: gryrmln <gryrmln@localhost>

Diffstat:
Mzlibs/helpers | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/zlibs/helpers b/zlibs/helpers @@ -175,6 +175,7 @@ dpkg-divert --remove --rename /usr/sbin/invoke-rc.d EOF fi + # NOTE: tread carefully, potential for recursive calling chroot-script "$werdo/dpkgdivert" || { zerr; return 1; } } @@ -206,6 +207,7 @@ chroot-script() _script="$(basename "$1")" if [[ -n "$_divert" ]]; then + # NOTE: tread carefully, potential for recursive calling devprocsys mount "$_path" || { zerr; return 1; } dpkgdivert on "$_path" || { zerr; return 1; } fi @@ -228,6 +230,7 @@ chroot-script() sudo chmod 1777 "${_path}/tmp" if [[ -n "$_divert" ]]; then + # NOTE: tread carefully, potential for recursive calling dpkgdivert off "$_path" || { zerr; return 1; } devprocsys umount "$_path" || { zerr; return 1; } fi