From a60fb3bc2eff5aacb157b3cac9dace62c0c21c00 Mon Sep 17 00:00:00 2001 From: Manuel Date: Tue, 9 May 2023 15:31:19 +0000 Subject: [PATCH] update build script --- bookworm/BldHelper-release.sh | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/bookworm/BldHelper-release.sh b/bookworm/BldHelper-release.sh index 7e1e606..2f2d9ee 100755 --- a/bookworm/BldHelper-release.sh +++ b/bookworm/BldHelper-release.sh @@ -62,22 +62,16 @@ mv ${FileName}-sha512.checksum ${LOCATION}/${FileName}-sha512.checksum # touch -t ${_stamp} ${LOCATION} ${LOCATION}/${FileName}* touch ${LOCATION}/${FileName}* -lb clean & - # Move the log file to the log directory. [ ! -e ${LogDir} ] && mkdir -p ${LogDir} mv ${OutFile} ${LogFile} -# Remove old packages from the cache directory -for i in $(grep "Del " ${LogFile} | sort -u | cut -f2,3 -d" " | tr " " "_" | tr ":" "*" | tr "+" "*" ) - do for j in $_cache/packages.*/${i}*.deb - do [ -e $j ] && rm $j - done -done - ### else echo -e "\n\tAfter $_break seconds, ISO never appeared.\n" | tee --append ${OutFile} mv ${OutFile} ${LogFile} fi +rm -r * + +exit 0