tNOTE: potential for recursive calling (zlibs/helpers) - libdevuansdk - common library for devuan's simple distro kits
HTML git clone https://git.parazyd.org/libdevuansdk
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit 3e687958ac37ecb4a3ac351c159b171e3757b669
DIR parent 27175c1556b3b034c9d9eb9a28d18792daea260c
HTML 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:
M zlibs/helpers | 3 +++
1 file changed, 3 insertions(+), 0 deletions(-)
---
DIR diff --git a/zlibs/helpers b/zlibs/helpers
t@@ -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; }
}
t@@ -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
t@@ -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