tfix dpkgdivert - libdevuansdk - common library for devuan's simple distro kits (HTM) git clone https://git.parazyd.org/libdevuansdk (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules (DIR) README (DIR) LICENSE --- (DIR) commit ab5818b9252e3ba6167dea938119a5d9dd044889 (DIR) parent 24cd77335fe7e4b9e726e812df6535cd825dc3d7 (HTM) Author: parazyd <parazyd@dyne.org> Date: Tue, 11 Oct 2016 22:48:38 +0200 fix dpkgdivert Diffstat: M zlibs/helpers | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) --- (DIR) diff --git a/zlibs/helpers b/zlibs/helpers t@@ -101,8 +101,6 @@ echo -e "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d chmod +x /usr/sbin/policy-rc.d rm -f /dpkgdivert EOF - chmod +x $werdo/dpkgdivert - sudo -E chroot $werdo/dpkgdivert || zerr elif [[ $watdo = off ]]; then cat <<EOF | sudo tee ${werdo}/dpkgdivert #!/bin/sh t@@ -111,9 +109,9 @@ rm -f /usr/sbin/invoke-rc.d dpkg-divert --remove --rename /usr/sbin/invoke-rc.d rm -f /dpkgdivert EOF - chmod +x $werdo/dpkgdivert - sudo -E chroot $werdo/dpkgdivert || zerr fi + sudo chmod +x $werdo/dpkgdivert + sudo -E chroot $werdo /dpkgdivert || zerr } silly() {