From 6447bfed1f99a159a6470c3edd4531da67756775 Mon Sep 17 00:00:00 2001 From: teldra Date: Tue, 16 Mar 2021 20:27:36 +0100 Subject: [PATCH] small fixes --- main.sh | 1 - run_in_chroot.sh | 1 - 2 files changed, 2 deletions(-) diff --git a/main.sh b/main.sh index bb14506..0c7ef14 100755 --- a/main.sh +++ b/main.sh @@ -27,7 +27,6 @@ done export run="preinstall" for i in $(find "${modules}" -mindepth 1 -maxdepth 1 -type d | sort -n ); do - test -f "${i}"/preinstall && sed -i 's/"${dest}"//' "${i}"/preinstall test -f "${i}"/preinstall && source "${i}"/preinstall done diff --git a/run_in_chroot.sh b/run_in_chroot.sh index 96e998a..440cb0d 100755 --- a/run_in_chroot.sh +++ b/run_in_chroot.sh @@ -19,7 +19,6 @@ done export run="install" for i in $(find "${modules}" -mindepth 1 -maxdepth 1 -type d | sort -n ); do - test -f "${i}"/install && sed -i 's/"${dest}"//' "${i}"/install test -f "${i}"/install && source "${i}"/install done