commit ab5818b9252e3ba6167dea938119a5d9dd044889 parent 24cd77335fe7e4b9e726e812df6535cd825dc3d7 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(-)
diff --git a/zlibs/helpers b/zlibs/helpers @@ -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 @@ -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() {